Answers for "how to get enum by index in c#"

C#
4

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

C# Answers by Framework

Browse Popular Code Answers by Language