Exception Handling | C# | Tutorial 24

  Рет қаралды 87,107

Giraffe Academy

Giraffe Academy

Күн бұрын

Source Code - www.giraffeacademy.com/program... This video is one in a series of videos where we'll be looking at programming in C#. The course is designed for new programmers, and will introduce common programming topics using the C# language.
Throughout the course we'll be looking at various topics including variables, arrays, getting user input, loops, conditionals, object orientation and much more.

Пікірлер: 120
@thugerrish
@thugerrish 5 жыл бұрын
This series deserves so many more views than this!
@Ryan_Parmelee
@Ryan_Parmelee 5 жыл бұрын
Yep
@imagine9616
@imagine9616 3 жыл бұрын
yes
@clarissagonzales7014
@clarissagonzales7014 4 жыл бұрын
Clear and straight to the point! Even non-programmers can understand this. Thank you so much!!
@shonshon
@shonshon 3 жыл бұрын
well, if you' re learning about how to programming ,then it is also mean that you're already programmer isn't? xD
@quantomic1106
@quantomic1106 4 жыл бұрын
Straight, informative and to the point. No BS exception caught. Love your tutorials.
@knockedgoose4206
@knockedgoose4206 2 жыл бұрын
You are a mentor to a fledgling programmer such as myself. Thank you for making these concepts easy to digest!
@cristinemariel.teruel5161
@cristinemariel.teruel5161 3 жыл бұрын
Thank you, Mike! I understand the topic well and I answer my exercises correctly. I can pass my OOP subject already!!
@sinapazhwak8976
@sinapazhwak8976 3 жыл бұрын
I wish you were my professor for my entire programming and web-designing studies.
@ManuelGraphFilms
@ManuelGraphFilms 3 жыл бұрын
2:55 my guy said illegal hahaha.. you just gained a new sub man
@austinnotes7906
@austinnotes7906 2 жыл бұрын
Man I'm writing Programming tomorrow and this has made me feel so much at at ease about Exception Handling
@scottisitt
@scottisitt 4 жыл бұрын
This was awesome, Mike!
@mubeenhassan2387
@mubeenhassan2387 4 жыл бұрын
Thank you so much man.. Finally i understand this ...... keep going man
@armanbecirovic2238
@armanbecirovic2238 Жыл бұрын
Thanks for this very useful and simplified explanation. Really like the way you easily explain and present something. :)
@gargoyled_drake
@gargoyled_drake 3 жыл бұрын
i was looking for this, and no one could give a straight answer like you!
@fcolell
@fcolell 4 жыл бұрын
Thanks Mike for explaining so clearly exception
@joshuabharath6774
@joshuabharath6774 3 жыл бұрын
every since college ive just been listening to your video and its so simple to understand unlike those other C# video lol
@piki217
@piki217 2 жыл бұрын
The best tutorial video i have seen yet
@study-zl3it
@study-zl3it 2 жыл бұрын
Hi! I'm studying for my finals and your videos are really helpful, thank you!
@Saskamon
@Saskamon 2 жыл бұрын
Everytime I see this guy, I can tell for sure that I will learn something. Greath thanks!
@rayoh2011
@rayoh2011 3 жыл бұрын
Very nice Mike! Thank you!
@bonganisedibe4636
@bonganisedibe4636 4 жыл бұрын
far better than my lecture! Thanks Man
@guywnoname
@guywnoname Жыл бұрын
straight to the point and very clear and i understood it very well 👍
@usaamahpatel9577
@usaamahpatel9577 3 жыл бұрын
Watching this in 2021. Absolutely wonderful explanation!!!
@futuregeneration8348
@futuregeneration8348 Жыл бұрын
Your way of teaching is great thank you so much
@weebofthesouth4113
@weebofthesouth4113 3 жыл бұрын
"That's illegal!" LOL that made me laugh. Thank you for this video I have an assignment due tonight and this helped me a lot.
@sonayorayomide7418
@sonayorayomide7418 Жыл бұрын
your videos are really great, watching your videos made me understand c sharp better✊✊
@stoka43
@stoka43 2 жыл бұрын
Thanks mike, you have just got yourself a new subscriber
@alexfila2619
@alexfila2619 3 жыл бұрын
thanks man, you are great, explained in first 60 sec all I was trying to understand about exceptions. Like!
@sadeghmirzaee8258
@sadeghmirzaee8258 3 жыл бұрын
OMG, man! you throw me some information that is so much useful to me and now I don't have to plan to watch a complete C# intermadiate/advanced tutorial. ( mean that part that you can catch a specific exception type and to something with that, that is like if statements for exceptions. ) Tnx for that...
@arrensantos4869
@arrensantos4869 4 жыл бұрын
Hi Mike! I've been looking for a clean explanation of try-catch block and this one was THE BEST so far!!! Thanks a LOT!!! Any chance you can add an explanation about the throw keyword? If there already is, please direct me to it. Also, is there any particular order when laying out catch blocks for multiple exceptions?
@muhammadrizwanmalik8956
@muhammadrizwanmalik8956 7 ай бұрын
very clear to unerstand! thanks
@dariorud
@dariorud 3 жыл бұрын
Brilliant video!
@user-kb3un1dx7u
@user-kb3un1dx7u 4 ай бұрын
Loved it!
@athariealfuraih8115
@athariealfuraih8115 3 жыл бұрын
Great explanation! Thank you so much
@dudem5447
@dudem5447 4 жыл бұрын
awesome, man, thanks!
@tomslater8374
@tomslater8374 3 жыл бұрын
super clear and helpful, thank you!
@HardstylezSuperstaar
@HardstylezSuperstaar 4 жыл бұрын
I do wonder how old are you? This dude seems to be some super programmer. I just learn to program in swedish and my school gives me swedish sites to follow. But after I found this dudes videos im in here every day to learn. This should be used by all schools in Programming.
@alkam0421
@alkam0421 4 жыл бұрын
I FINALLY UNDERSTAND! thank you so much :')
@olmusic7856
@olmusic7856 Жыл бұрын
great explaniation bro tnx alot
@rostadeveloper
@rostadeveloper 3 жыл бұрын
Really nice video! Thumbs up!
@gallacticvr4157
@gallacticvr4157 2 жыл бұрын
EXACTLY WHAT I NEEDED THANK YOU
@trumbaron
@trumbaron Жыл бұрын
Perfect! Thanks!
@xtrinsicdesign
@xtrinsicdesign 3 жыл бұрын
Really helped me out tonight, ty
@simplycoding347
@simplycoding347 11 ай бұрын
Great work
@triangle4studios
@triangle4studios 3 жыл бұрын
This was exceptional
@jinju3785
@jinju3785 2 жыл бұрын
dude now i know how to find bugs and errors easily thank you so much❤️❤️
@HaydenHeun
@HaydenHeun 4 жыл бұрын
Thank You!
@adrianasilveira4561
@adrianasilveira4561 3 жыл бұрын
Great explanation. Thank you
@Rd.2535
@Rd.2535 10 ай бұрын
this is what i love and what i went good teaching style
@lovegeneration8464
@lovegeneration8464 3 жыл бұрын
Well explained, thank you 🙂 👍
@ronenoren8267
@ronenoren8267 3 жыл бұрын
Thank you!
@SweetPeachannel
@SweetPeachannel Жыл бұрын
i do love your video ..
@user-hz6ue4tq5g
@user-hz6ue4tq5g Жыл бұрын
Thank you teacher!
@xSAxHellboy1
@xSAxHellboy1 4 жыл бұрын
Great video man
@thanhhaminh9383
@thanhhaminh9383 3 жыл бұрын
this video is very clearly, thank you
@tripernnn5581
@tripernnn5581 2 жыл бұрын
This was so easy to understand even though im am austrian.....great explanation
@MrJo0ntee
@MrJo0ntee 2 жыл бұрын
I really love your videos! Im currently taking programming on a highschool level, and my teacher has theese videos, they suck! this video would probobly, not gonna lie, be 40min long! becouse he types with one finger, does misprints and talk so slow. So having theese to look at insted is so good! Thanks!
@user-ny4nc5wd8n
@user-ny4nc5wd8n 2 жыл бұрын
This 10 min vid helped me more than the book i was reading. Thanks for the help man
@upcom1ng116
@upcom1ng116 2 жыл бұрын
What were you reading? So I don't buy it lol
@davidksoku4860
@davidksoku4860 3 жыл бұрын
I love you Man, You are a great teacher ❤️💛💚
@otetumooluwaseun3948
@otetumooluwaseun3948 2 ай бұрын
Wow! Amazing! I asked for a cake, I got a whole supermarket. Thank you for the video.
@Jason-mi3nu
@Jason-mi3nu 2 жыл бұрын
Helped me understand it and use it Thx
@Hikizuru
@Hikizuru 2 жыл бұрын
Bro. So good.
@Ethan-xj7hb
@Ethan-xj7hb 11 ай бұрын
ty my bro helped me a ton
@hamzarashid7579
@hamzarashid7579 3 жыл бұрын
Thank you for this video
@nandorbacso4625
@nandorbacso4625 4 жыл бұрын
Thank you man
@abdelkiki
@abdelkiki 3 жыл бұрын
Thank you so much
@jasmin9943
@jasmin9943 3 жыл бұрын
you are awesome thank you for the video !!
@mweshiols
@mweshiols 7 ай бұрын
thanks this was well explained
@milos1799
@milos1799 2 жыл бұрын
I'm a bit late, but king, for this turorial, thank you very much!
@abdelrahmanmohamedowis7619
@abdelrahmanmohamedowis7619 2 ай бұрын
Thank You
@aviperetz1
@aviperetz1 3 жыл бұрын
Thanks 👌👍
@PopCapMusicTrending
@PopCapMusicTrending Жыл бұрын
Thank you
@redeyz1885
@redeyz1885 3 жыл бұрын
Thanks
@u_mpumelelo
@u_mpumelelo Ай бұрын
Thank you bro
@JC-xc8rx
@JC-xc8rx 5 жыл бұрын
excelent!
@SuperTNT
@SuperTNT Жыл бұрын
thanks!
@DailyFactmerit
@DailyFactmerit 2 жыл бұрын
Thanks sir
@eonshade6297
@eonshade6297 3 жыл бұрын
Good tutorial
@matinaminsabouri
@matinaminsabouri 11 ай бұрын
nice and neat
@Ms.Abegail
@Ms.Abegail 23 күн бұрын
thank you
@naziayameen9755
@naziayameen9755 2 жыл бұрын
thnku
@sariepproduction4146
@sariepproduction4146 Жыл бұрын
Thanks bruh
@mastinaatumasala
@mastinaatumasala 3 жыл бұрын
Super
@manoasankad
@manoasankad 3 жыл бұрын
Tx
@Stoicism_self_improvement
@Stoicism_self_improvement 3 жыл бұрын
Truly wish you're my teacher
@dougwarner59
@dougwarner59 3 жыл бұрын
First off the video was very informative and easy to understand....but.... I still don't understand the point of handling exceptions in the way you describe. exception handling takes up a lot more time than just checking for the errors the normal way. it would be more efficient just to check to see if the second value is a zero or a letter before preforming the code and then let the user know the mistake he or she made. In this particular case I could see possibly using a general exception to catch an error that I may not have thought of; then have the exception send a message telling where exactly the problem occured for trouble shooting purposes. Could you give an example of using exception handling when normal error checking would not be able to handle the same problem? (other than using a catch-all general exception as I described earlier.)
@jarell2805
@jarell2805 Жыл бұрын
How to catch an exception in an a, b, c, and d input only? How to catch numbers and texts such as w,q, t or r
@simplyjemelah8276
@simplyjemelah8276 2 жыл бұрын
hi do you have a video for C# System.ArithmeticException?
@hydarnasiru2158
@hydarnasiru2158 3 жыл бұрын
let's say you enter a number and a letter how can throw an exception then make the code loop back to the beginning so you can try again without ending the program?
@marklitvin9291
@marklitvin9291 4 жыл бұрын
But what about letting the user re-enter the values once again? I did miss that part. Where was it? After the exception was shown.
@rsk6929
@rsk6929 2 жыл бұрын
This paired with the goto function works amazingly. i wish we had goto in python
@thegoodkidboy7726
@thegoodkidboy7726 2 жыл бұрын
kowai
@rsk6929
@rsk6929 2 жыл бұрын
@@thegoodkidboy7726 ?
@thegoodkidboy7726
@thegoodkidboy7726 2 жыл бұрын
@@rsk6929 people don't like goto very much
@rsk6929
@rsk6929 2 жыл бұрын
@@thegoodkidboy7726 ok, why
@gdj777
@gdj777 3 жыл бұрын
Mike! Come back!
@franciscrypto9143
@franciscrypto9143 Жыл бұрын
same with if else statement?
@chamith256
@chamith256 3 жыл бұрын
What is the difference between Write and WriteLine?
@cptsnorkles1037
@cptsnorkles1037 3 жыл бұрын
Auto sub
@sofianebm7492
@sofianebm7492 3 жыл бұрын
i enjoyed it , so i am leaving a comment XD
@kunaldedhia5502
@kunaldedhia5502 2 жыл бұрын
How can i handle exceptions globally in console applications? Please help
@praveenbhawantha
@praveenbhawantha 3 жыл бұрын
just wanna say it's great and simple kudos man!!
@janaewelsh8056
@janaewelsh8056 4 жыл бұрын
Can someone explain what the e represents? Is it a variable? Does it have to be the letter e or could it be any other letter? Not sure what purpose it serves in the code exactly
@baradel9394
@baradel9394 3 жыл бұрын
"e" is an object of type Exception or any other one of the types that were in the catch block. Basically, it has all the error information inside of it, such as an error message (e.Message) or the current stack trace (e.Stacktrace). It could have been called any other name, but as convention it usually is called "e" or "ex"
@smartacc8745
@smartacc8745 Жыл бұрын
Hello Mike How Are You Bro ?
@aminkoolivand2790
@aminkoolivand2790 4 жыл бұрын
one like is not enough!!!!!!!!!!!!
@thatonerealguy69
@thatonerealguy69 Жыл бұрын
Giraffe.exe 😂😂😂
Classes & Objects | C# | Tutorial 25
13:25
Giraffe Academy
Рет қаралды 168 М.
Getters & Setters | C# | Tutorial 28
12:09
Giraffe Academy
Рет қаралды 191 М.
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,6 МЛН
Advanced Exception Handling in Python
12:06
NeuralNine
Рет қаралды 56 М.
Methods | C# | Tutorial 12
11:00
Giraffe Academy
Рет қаралды 55 М.
The Algorithm Behind Spell Checkers
13:02
b001
Рет қаралды 407 М.
Constructors | C# | Tutorial 26
10:29
Giraffe Academy
Рет қаралды 85 М.
The Right Way to Check for Null in C#
9:35
Nick Chapsas
Рет қаралды 95 М.
If Statements | C# | Tutorial 14
15:51
Giraffe Academy
Рет қаралды 25 М.
Return Statement | C# | Tutorial 13
5:56
Giraffe Academy
Рет қаралды 57 М.