Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# enum

enum Level 
{
  Low,
  Medium,
  High
}

Level myVar = Level.Medium;
Console.WriteLine(myVar);
Source by learn.microsoft.com #
 
PREVIOUS NEXT
Tagged: #enum
ADD COMMENT
Topic
Name
2+9 =