ENUM Length 가져오기
·
사소한 아이의 소소한 스킬/C#
C#에서 ENUM Length 가져오는 방법 대충 이런식으로 적으면 됨. 1int cntEGSEEnum = Enum.GetNames(typeof(ENUM_Name)).Length;cs