© { JSL }
57
Text Box: enum Notes
enum Notes
Folded Corner:
·
    enum Suit : int
    {
        Clubs,
        Diamonds,
        Hearts = 42,
        Spades,
    }
the underlying integer type
can be any of the basic 8 integer
types and defaults to int (not char)
named constants
can be initalized
from constants; they default to the previous
constant + 1
optional comma after
last named constant