Get a System.Type
suggest changeFor an instance of a type:
var theString = "hello";
var theType = theString.GetType();
From the type itself:
var theType = typeof(string);
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents