Exceptions: When to use, timing, overall use

后端 未结 6 1529
-上瘾入骨i
-上瘾入骨i 2020-12-20 07:47

I\'ll try and ask my question so it doesn\'t end as a simple argumentative thread.

I\'ve jumped into an application coded in C# recently and I\'m discovering the exc

6条回答
  •  借酒劲吻你
    2020-12-20 08:32

    In case of Parse()/TryParse() it's better don't wait for exception, use TryParse and act on incorrect input by yourself.

提交回复
热议问题