Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

get enum by index c#

//Returns the enum value at the index
(EnumType)int;

//returns the string of the enum value at the index
(EnumType)int.ToString();
 
PREVIOUS NEXT
Tagged: #enum #index
ADD COMMENT
Topic
Name
6+3 =