where do I add enum in my class C# code example
Example 1: public enum c#
enum Season
{
Spring,
Summer,
Autumn,
Winter
}
Example 2: c# enum default
enum F
{
// Give each element a custom value
Foo = 1, Bar = 2, Baz = 3, Quux = 0
}