Debugging Form_Load while inside VS IDE is impossible
private void Form1_Load(object sender, EventArgs e)
{
int n = 0;
int i = 7 / n; // this fail silently while inside Visual Studio
}
private void button1_Click(object sender, EventArgs e)
{
int n = 0;
int i = 7 / n;
}
No comments:
Post a Comment