Refering to a type staticly

  • Thread starter Thread starter Dave Rudolf
  • Start date Start date
D

Dave Rudolf

Hi all,

I am curious if there is a way to refer to a class type without having to
create an instance of a type, and to GetType() on it. For instance, in Java,
I could do something like

Class classType = String.class;

I assume that there is something similar in C#?

Thanks,

Dave.
 
Back
Top