Int32 == Int32 : Int32 « System « C# / C Sharp by API






Int32 == Int32

  




using System;

class MainClass
{
    public static void Main(string[] args)
    {
    System.Int32 intA = 1001;
    System.Int32 intB = 1000;
    
    if(intA == intB)
      Console.WriteLine("Same value!\n");
    else
      Console.WriteLine("Not the same value!\n");

    }

}

   
    
  








Related examples in the same category

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