Answers for "c# enum set value"

C#
2

c# enum default

enum F
{
    // Give each element a custom value
    Foo = 1, Bar = 2, Baz = 3, Quux = 0
}
Posted by: Guest on May-01-2020

C# Answers by Framework

Browse Popular Code Answers by Language