Difference between int dot parse and int dot tryparse

int.Parse is a simple method used to convert string to integer. It throws exception when null or invalid input is provided. Hence it is slow.

int.TryParse does not thow any exception instead we must describe second parameter as out parameter which holds result. And it returns boolean value representing success or failure.