Convert.ToInt32(null) == 0
Consider the following.
string s = null;
int i = Convert.ToInt32(s);
What is the value of i? Zero. WHAT?
GIVE ME A DAMN EXCEPTION.
Consider the following.
string s = null;
int i = Convert.ToInt32(s);
What is the value of i? Zero. WHAT?
GIVE ME A DAMN EXCEPTION.