C# Tutorial Enum
Basic
- Check if a constant exists in a specified enum in CSharp
- Check if one or more bit fields are set in CSharp
- Get an array of the names of the constants in a specified enum in CSharp
- Get an array of the values of the constants in a specified enum in CSharp
- Get the name of the constant in the specified enumeration that has the specified value in CSharp
- Get the underlying type of the specified enumeration in CSharp
Calculation
- Check if a value is defined as enum number in CSharp
- Compare two Enum data type values in CSharp
- Get all names from an enum type in CSharp
- Get all values from an enum type in CSharp
- Get enum underlying type in CSharp
- Output enum value in CSharp
- Set base type for enum to long in CSharp
- Set initial Enum Values in CSharp
- Set initial value for the first element in an enum type in CSharp
- Switch with Enum and call its ToString function in CSharp
Compare
Convert
- Convert enum to string in CSharp
- Convert enum to string using the specified format in CSharp
- Convert enum value to string representation according to the specified format in CSharp
- Convert integer value to enum in CSharp
- Convert object with an integer value to enum in CSharp
Create
- Create enum instance from a string in CSharp
- Declare enum data type in CSharp
- Define enum type constants in CSharp
Format
Parse
- Parse string or int or enum to enum, specifies whether the operation is case-insensitive in CSharp
- Parse string or numeric value or enum to enum in CSharp
- Try to parse number or string to enum in CSharp
- Try to parse number or string to enum, specifies whether the operation is case-sensitive in CSharp