📅  最后修改于: 2022-03-11 14:48:52.011000             🧑  作者: Mango
//// 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");
}