Operator C# Tutorial

You can use the "typeof" operator to obtain information about a type.
The typeof operator returns a System.Type object for a given type.
The typeof operator has this general form:

typeof(type)
type is the type being obtained.
The System.Type object returned encapsulates the information associated with type.