Wiki

Changes between Version 1 and Version 2 of Enum

Show
Ignore:
Timestamp:
11/22/10 19:36:23 (14 years ago)
Author:
todd.a
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Enum

    v1 v2  
    1818== Grammar == 
    1919{{{ 
     20#!cobra 
    2021enum <enumName> [ is <accessModifier>]  
    2122    [ has <Attributes>]  
     
    3334== Examples == 
    3435{{{ 
     36#!cobra 
    3537enum Days  
    3638    """In this enumeration, Sat is 0, Sun is 1, Mon is 2, and so forth."""  
     
    5254See the effect of System.!FlagsAttribute on an enum  
    5355{{{ 
     56#!cobra 
    5457enum CarOptions  
    5558    has Flags