Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

c# get amount of elements in enum

int count = Enum.GetValues( typeof( ContentAlignment ) ).Length;
Source by www.csharp411.com #
 
PREVIOUS NEXT
Tagged: #amount #elements #enum
ADD COMMENT
Topic
Name
5+3 =