// Obtain type information from a variable.
SomeType c = new SomeType();
Type t = c.GetType();
INeedYourTypeInfo(t);
// Obtain type information via typeof.
INeedYourTypeInfo(typeof(SomeType));
// Obtain type information from a variable.
SomeType c = new SomeType();
Type t = c.GetType();
INeedYourTypeInfo(t);
// Obtain type information via typeof.
INeedYourTypeInfo(typeof(SomeType));