📜  system.systemexception 类是 C# 中所有预定义系统异常的基类? - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:14.045000             🧑  作者: Mango

代码示例1
NO system.systemexception is not the base class
The base class is System.Exception
To throw a new exception just create an instance of that object 
and use the throw keyword before it
For example:
throw new Exception("Your message ANYTHING");