c# - Intentionally cause a fatal exception -


I need to make a fatal exception on demand using C #. Although I have taken enough time in this unknowingly, now I need it, I can not find any easy way.

It is easy to divide by zero reference error or zero etc. But I need something without the option to continue the CTD.

Thank you for your help.

Do not use one exception to accomplish this, there are many more side-effects to the program at all A non-exclusion exception that eliminates the program is a CLR policy that can be changed by both a custom CLR host and even today by the legacy disciplinary policy definition definition.

Without any clarification without taking any incident,


Comments

Popular posts from this blog

sql - Find last match with latest inserted name in table -

c# - XML serialize base class without knowing derived class -

ios - Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc? -