Convert.ToInt32 returns zero if string is null reference, when int.Parse
throws ArgumentNullException
> string number = "13";
> int num;
> Is it exactly the same if I use
> num = Convert.ToInt32(number); OR
> num = int.Parse(number)
>
> Is it always in this case that I can choose whichever of int.Parse or
> Convert.ToInt32 when I convert from a string containing numbers to an int.
> So are these two interchangeable.
--
WBR,
Michael Nemtsev :: blog:
http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche