enum c#

84

c# enum default -

enum F
{
    // Give each element a custom value
    Foo = 1, Bar = 2, Baz = 3, Quux = 0
}

Comments

Submit
0 Comments