Get the type of Enum

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi

I need to pass the type of Enum as System.Type to a method. Any idea
how to do that?

Something like below code I was looking for

DataSet ds = new DataSet();
DataTable dt = new DataTable("MyTable");
dt.Columns.Add("CheckBoxColumn",
Type.GetType(System.Windows.Forms.CheckState));

Help would be appreciated.

-Cnu
.