c# reflection
//// Get name of type
Type MyType = Type.GetType("System.Collections.ArrayList");
//Store all the tpyes
MemberInfo[] Mymemberinfoarray = MyType.GetMembers();
//Display
foreach (MemberInfo item in Mymemberinfoarray)
{
richTextBox1.AppendText(item.Name + " (" + item.MemberType + ") \n");
}