Answer 1.
C# 3.0 introduces a new keyword called "var".
Var allows you to declare a new variable, whose type is implicitly inferred
from the expression used to initialize the variable.
In other words, the following is valid syntax in C# 3.0:
var i = 1;
Posted By: QP Admin
Post Date: 04/14/2008
|