This is my first day using c#.
I think it is very easy :(.
What does return do in this case:
if (flag == false)
{
MessageBox.Show("Not a number.Re-enter.");
txtnum.Clear();
txtnum.Focus();
return;
}
?
It simply exits the method. So that no code after that return will be executed.