Mega Code Archive

 
Categories / C# Tutorial / Data Type
 

System Int32 value

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");     } } Not the same value!