阅读背景:

抛出异常后我是否必须休息?

来源:互联网 

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 code in the method after the throw still be executed? Do I have to put a break after the throw, or does a throw always quit the method?I'm writing a custom class in C# and I'm throwi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: