Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# enum

enum Level 
{
  Low,
  Medium,
  High
}
Level myVar = Level.Medium;
Console.WriteLine(myVar);
 
PREVIOUS NEXT
Tagged: #enum
ADD COMMENT
Topic
Name
4+9 =