.NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library
by Brad Abrams
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access