I am trying to get a type from a Type variable. For example:
Type t = typeof(String);
var result = SomeGenericMethod<t>();
No, you cannot know the value of a
Type object at compile time, which is what you would need to do in order to use a
Type object as an actual type. Whatever you're doing that needs to use that
Type will need to do so dynamically, and not require having a type known at compile time.