enum Seasons{ Spring, //0 Summer, //1 Autumn, //2 Winter //3 } enum ErrorCode : uint { None = 0, Unknown, //1 ConnectionLost = 100, OutlierReading //101 }