The 'var' keyword is used for declaring a variable.
Before you can us a variable, you need to declare it first.
When you declare a variable using the 'var' keyword, the data type of the variable
w the variable a gets declared and value 4 gets assigned to it.
Because the integer value gets assigned to the variable, the variable will have data type int.
var a = 4;
Are you learning C# ? Try our test we designed to help you progress faster.