c#枚举(Enum)的用法及遍历方法

foreach (string s in Enum.GetNames(typeof(WallKind)))
{     
  WinFormTools.MsgBox(s);
}
原文地址:https://www.cnblogs.com/swtool/p/5888520.html