The enum keyword in C# and .NET is used to declare an enumeration, a distinct type that consists of a set of named constants called the enumerator list. An enum in C# is declared by the enum keyword followed by the enumeration name and its values within a bracket. Here is a list of C# enum examples.
source https://www.c-sharpcorner.com/article/top-7-c-sharp-enum-enumeration-code-examples/
No comments:
Post a Comment