Check out example codes for "c# enum default". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com