what is the difference wetween Int32.parse and Convert.ToInt32



what is the difference between the two forms of converting to integer
from string

string strVal = "10";

Convert.ToInt32(strVal);

Int32.Parse(strVal);

which method is more efficient in terms of performance?

.


Loading