Converts the string representation of a number to an integer.
Namespace:
Core
Assembly:
Core (in Core.dll)
public static int ToInt<T>(
Enum soure
)
where T : IConvertible
Type Parameters
- T
Parameters
- soure
- Type: Enum
The soure.
Return Value
System.Int32.