Answers for "return the length of an enum class"

C#
0

get length of enum values

int count = Enum.GetValues(typeof(SystemTypeEnum)).Length;
Posted by: Guest on January-17-2021

Code answers related to "return the length of an enum class"

C# Answers by Framework

Browse Popular Code Answers by Language