Enums in C#

Share this…Facebook0TwitterLinkedinPrint Post Views: 555 Enums in C#:- An enum type is a distinct value type with a set of named constants. The following example declares and uses an enum type named Color with three constant values, Red, Green, and Blue. using System; enum Color { Red, Green, Blue } class Test { static void […]