Assign value to int variable : int : Data Types C# Source Code


Custom Search

C# Source Code » Data Types » int »

 

Assign value to int variable








    
 

using System;

class UnaryOpsApp
{
    static void Main(string[] args)
    {
        int a;
        a = -42;
        Console.WriteLine("{0}", a);
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Data Types
» int