Answers for "what is enum in c# example"

C#
0

c# enum

enum Level 
{
  Low,
  Medium,
  High
}

Level myVar = Level.Medium;
Console.WriteLine(myVar);
Posted by: Guest on May-23-2021

C# Answers by Framework

Browse Popular Code Answers by Language