Type var gets the value compile time.
Var is an implicitly typed local variable that is strongly typed in the same way as if you yourself declared the type, but the compiler determines the type
var i = 10;
int i = 10;
http://msdn.microsoft.com/en-us/library/bb383973.aspx