Answers for "how to get enum variable name by its value in c#"

C#
1

c# get enum name from value

string name=(weekdays)2;//returns weekdays which has value 2.Here weekdays is enum name
Posted by: Guest on March-03-2021

Code answers related to "how to get enum variable name by its value in c#"

C# Answers by Framework

Browse Popular Code Answers by Language