Int32.Parse(String value)
using System; class MainClass { public static void Main(string[] args) { int myInt = int.Parse("8"); Console.WriteLine("-> Value of myInt: {0}", myInt); } }