Answers for "count number of enum values C#"

C#
7

count number of enum values C#

int count = Enum.GetValues(typeof(EnumType)).Length;
Posted by: Guest on May-04-2020

C# Answers by Framework

Browse Popular Code Answers by Language