Variable definition : Variable Definition : Language Basics C# Examples


C# Examples » Language Basics » Variable Definition »

 

Variable definition





A variable is a named memory location that can be assigned a value.
To declare a variable, you will use a statement like this:




    
type  var-name;
    
   
  
   


type specifies the type of variable being declared
var-name is the name of the variable.




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Language Basics
» Variable Definition