Changes between Version 1 and Version 2 of Enum
- Timestamp:
- 11/22/10 19:36:23 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Enum
v1 v2 18 18 == Grammar == 19 19 {{{ 20 #!cobra 20 21 enum <enumName> [ is <accessModifier>] 21 22 [ has <Attributes>] … … 33 34 == Examples == 34 35 {{{ 36 #!cobra 35 37 enum Days 36 38 """In this enumeration, Sat is 0, Sun is 1, Mon is 2, and so forth.""" … … 52 54 See the effect of System.!FlagsAttribute on an enum 53 55 {{{ 56 #!cobra 54 57 enum CarOptions 55 58 has Flags