C# Type Conversion
using System
public static bool Parse(string value);
public static byte Parse(string value);
public static decimal Parse(string value);
public static double Parse(string value);
public static float Parse(string value);
public static int Parse(string value);
public static long Parse(string value);
public static sbyte Parse(string value);
public static short Parse(string value);
public static uint Parse(string value);
public static ulong Parse(string value);
public static ushort Parse(string value);
Internationalization (I18n) Method Overview
The Parse method converts the specified string representation of a value to its type equivalent,
or throws an exception if the string cannot be parsed into a type.
See Microsoft's MSDN online documentation for more information:
C# Type Conversions
|