Parse Method
Definition
Parse<T>(string)
Converts the specified input to an object of T.
T Parse<T>(string input)
Parameters
inputstringThe string to convert.
Returns
- T
An object of
Tequivalent toinput.
Type Parameters
TThe type of the object to return.
Parse(string, Type)
Converts the specified input to an object of targetType.
object Parse(string input, Type targetType)
Parameters
Returns
- object
An object of
targetTypeequivalent toinput.