Error!
Success!

What is best int.Parse vs Convert.ToInt32 in C#

0
kicks

What is best int.Parse vs Convert.ToInt32 in C#  (Unpublished)

Both int.Parse and Convert.ToInt32 are used to convert string into the integer but Only difference between them is to Convert.ToInt32 handle null and returns "0" as output and int.parse is not going to handle NULL and will give a Argument Null Exception.


Kicked By:
Drop Kicked By: