enum

A type that defines a fixed set of named constants.

What is enum in C#?

enum — A type that defines a fixed set of named constants.

enum Status
{
    New,
    Shipped
}

Level: Apprentice · More C# terms at this level

Updated

In other subjects