C# 遍历枚举

 

 

foreach (var item in Enum.GetValues(typeof(UseType)))
{
  //item.ToString();
}

 

posted @ 2022-12-29 12:27  一介桃白白  阅读(569)  评论(0)    收藏  举报