interinces with enums c# code example
Example 1: public enum c#
enum Season
{
Spring,
Summer,
Autumn,
Winter
}
Example 2: c# global enumerator
public class ClassName
{
// ... Other class members etc.
}
// Enum declared outside of the class
public enum Direction
{
north, south, east, west
}