0
int.Parse vs Convert.ToInt32
Is there a difference between the Parse method to the Convert.To method? Thanks
1 Réponse
0
Int32.Parse() uses only strings. ToInt32() has many overloads for different types. both throw exceptions. use Int32/int.TryParse()