Total number of items defined in an enum. Way1. int number=Enum.GetNames(typeof(MYEnum)).Count(); ... 標籤: C#.
確定! 回上一頁