Assing value to int value : int : Data Types C# Source Code


Custom Search

C# Source Code » Data Types » int »

 

Assing value to int value









    

public class Values{
    static void Main( ) {
       int myInt = 7;
       System.Console.WriteLine("Initialized, myInt: {0}", myInt);
       myInt = 5;
       System.Console.WriteLine("After assignment, myInt: {0}",myInt);
    }
 }

           
       
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Data Types
» int