C# 遍历枚举 例子: public enum OS { Windows, Linux, Android, } foreach (var item in Enum.GetValues(typeof(OS))) { O… Flames2021年3月15日C#