Description

A System.Enum is a distinct type with named constant members. Each enumeration type has a corresponding integral type called the underlying type of the enumeration type. This underlying type is required to be a system-supplied integer type that is large enough to represent all values defined in the enumeration; the field that holds the underlying type must be called value__. A System.Enum declaration is allowed to explicitly declare any integral type other than System.Char as an underlying type. This includes System.Byte, System.SByte, System.Int16, System.Int32, System.Int64, System.UInt16, System.UInt32, and System.UInt64. A System.Enum declaration that does not explicitly declare an underlying type has an underlying type of System.Int32 ...

Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.