Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# enum default

enum F
{
    // Give each element a custom value
    Foo = 1, Bar = 2, Baz = 3, Quux = 0
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #enum #default
ADD COMMENT
Topic
Name
4+2 =