Answers for "how to get the index of an item in an enum in c#"

C#
3

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();
Posted by: Guest on May-04-2020

Code answers related to "how to get the index of an item in an enum in c#"

C# Answers by Framework

Browse Popular Code Answers by Language