var
normally is a C#-Keyword that is used to declare a variable of which the compiler can infer the type by the assignment on the right side:
var i = 1;
var s = "abc";
var d = DateTime.Now;
var z;
But you are allowed to define an own type (a class or struct) with the name "var":
class var
{
}
var x;
"
If a type named var is in scope" - means that the example above would work wherever your declaration of a type named
var is known at. If you would declare the type
var in a different namespace and not specify that namespace with a using-namespace-directive, then the compiler wouldn't know about that type and again treat an occurence of "var" as the C#-keyword.
This is -or at least should be- of academic interest only, it would be very bad practice to actually define a usertype named
var because it will irritate everyone looking at the code.