var
A keyword that lets the compiler work out a variable's type from its starting value.
var declares an implicitly typed local; the variable is still statically typed, with the type inferred from its initializer.
Examples
var count = 3;makescountanint, exactly as if you'd writtenint count = 3;.
See also