Int32.Parse(String value) : Int32 « System « C# / C Sharp by API






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);
    }
}

   
    
  








Related examples in the same category

1.Int32 == Int32
2.Int32.Equals(23)
3.Int32.GetHashCode
4.Int32.GetType()
5.UInt32.MinValue
6.Int32.ToString
7.Int32.ToString(String format,CultureInfo info)