Do I have to break after throwing exception?

前端 未结 6 1700
予麋鹿
予麋鹿 2021-01-03 20:58

I\'m writing a custom class in C# and I\'m throwing a couple exceptions if people give the wrong inputs in some of the methods. If the exception is thrown, will any of the c

6条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-03 21:04

    I recommend stepping through your program with a debugger then you'll see for yourself what is going on. Very useful for learning!

提交回复
热议问题