About 34,500 results
Open links in new tab
  1. Enumeration (or enum) in C - GeeksforGeeks

    Apr 8, 2026 · In C, an enumeration (or enum) is a user-defined data type that contains a set of named integer constants. It is used to assign meaningful names to integer values, which makes a program …

  2. Java Enums - W3Schools

    An enum is a special "class" that represents a group of constants (unchangeable variables, like final variables). To create an enum, use the enum keyword (instead of class or interface), and separate …

  3. Enumeration types - C# reference | Microsoft Learn

    Jan 14, 2026 · The System.Enum type is the abstract base class of all enumeration types. It provides many methods to get information about an enumeration type and its values. For more information …

  4. Enumeration declaration - cppreference.com

    1) enum-specifier, which appears in decl-specifier-seq of the declaration syntax: defines the enumeration type and its enumerators. 2) A trailing comma can follow the enumerator-list. 3) Opaque …

  5. Enumerated type - Wikipedia

    In computer programming, an enumerated type (also called enumeration, enum, or factor in the R programming language, a condition-name in the COBOL programming language, a status variable in …

  6. enum — Support for enumerations — Python 3.14.6 documentation

    18 hours ago · Source code: Lib/enum.py Important: This page contains the API reference information. For tutorial information and discussion of more advanced topics, see Basic Tutorial, Advanced …

  7. Enum HOWTO — Python 3.14.6 documentation

    18 hours ago · Enum HOWTO ¶ An Enum is a set of symbolic names bound to unique values. They are similar to global variables, but they offer a more useful repr(), grouping, type-safety, and a few other …

  8. C Enum (Enumeration) - W3Schools

    C Enums An enum is a special type that represents a group of constants (unchangeable values). To create an enum, use the enum keyword, followed by the name of the enum, and separate the enum …

  9. C# Enumerations - C# | Microsoft Learn

    Apr 13, 2026 · Learn how to define and use enumeration types in C#, including declaring enums, using them in switch expressions, working with bit flags, and converting between enums and integers.

  10. enum in Java - GeeksforGeeks

    May 27, 2026 · In Java, enum is a special data type used to define a fixed set of constant values in a type-safe way. It improves code clarity by replacing numeric or string constants with meaningful …