how can we access enum values in c# code example
Example 1: public enum c#
enum Season
{
Spring,
Summer,
Autumn,
Winter
}
Example 2: c# string enum
public static class Status
{
public const string Awesome = "Awesome";
public const string Cool = "Cool";
}
//Not an enum but has a similar effect without needing to convert ints