C# 2.0 Enums

Enums are sets of named constants. PowerDesigner models enums as classes with a stereotype of <<Enum>>.



{
 public enum Color : colors
 {
  Red,
  Blue,
  Green,
  Max = Blue
 }
}

For information about creating and working with classes, see Classes (OOM).


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com