+ 1
Difference between int.Parse() and Convert.ToInt32
Can anyone tell me what is the difference between int.Parse() and Convert.ToInt32 ?
3 Respostas
+ 5
They work pretty much the same way, except that Convert.ToInt32() does not throw ArgumentNullException when its argument is null – Int.Parse does.
Source: http://stackoverflow.com/questions/199470/whats-the-main-difference-between-int-parse-and-convert-toint32
+ 2
thx!
+ 2
Good to know