20. August 2013 18:54
Most of the .NET data type having the TryParse method. This method will take input of the string and try to convert the value to the base type if it is successful, it ll return the converted value into out parameter and returns boolean value. This method will be helpful at the time of converting a string to a specific data type.