About 324,000 results
Open links in new tab
  1. Enumeration types - C# reference | Microsoft Learn

    Nov 24, 2025 · Learn about C# enumeration types that represent a choice or a combination of choices

  2. Enumeration (enum) in C# - GeeksforGeeks

    Sep 11, 2025 · Enumeration (enum) in C# is a special value type that defines a set of named constants. It improves code readability by giving meaningful names to numeric values.

  3. Enumeration types (C# reference) - GitHub

    Nov 24, 2025 · Enumeration types (C# reference) An enumeration type (or enum type) is a value type defined by a set of named constants of the underlying integral numeric type. To define an …

  4. C# Enum: Definition and Best Practices - Stackify

    Jan 16, 2025 · An enum, short for enumeration, is a value type in C# that defines a set of named constants that map to underlying numeric values. By using enums, you can work with symbolic …

  5. C# enums (With Examples) - Programiz

    In C#, an enum (short for enumeration) is a user-defined data type that has a fixed set of related values. In this tutorial, you will learn about the C# Enums with the help of examples.

  6. Enumerations or enum in C#: An Advanced Guide - C# Corner

    An enumeration type (or enum type) is a value type defined by a set of named constants of the underlying integral numeric type. To define an enumeration type, use the enum keyword and …

  7. C# Enumerations Type - Enum - TutorialsTeacher.com

    In C#, an enum (or enumeration type) is used to assign constant names to a group of numeric integer values. It makes constant values more readable, for example, WeekDays.Monday is …

  8. C# - enum Examples - Dot Net Perls

    Oct 18, 2025 · We examine what enums look like in the Visual Studio debugger. We see that enums are each a separate type. The debugger shows that tagValue is of type …

  9. System.Enum class - .NET | Microsoft Learn

    Jan 8, 2024 · Programming languages typically provide syntax to declare an enumeration that consists of a set of named constants and their values. The following example illustrates the …

  10. Understanding Enumerations (enum) in C# - dotnetcore.info

    Nov 3, 2024 · In this article we will go through what exactly enumerations are and how they are used. First, we’ll look at basic usage; in the case of enum values in if statements, using …