簡易程式崩壞範例
using System; using System.Windows.Forms; namespace MimicCrash { public partial class Form1 : Form { public Form1() { InitializeComponent(); throw new Exception("Your exception here!"); } } }