Returns an array of the values of the constants in the current enumeration type.
Syntax
public virtual
Array GetEnumValues ()
Returns
An array that contains the values. The elements of the array are sorted by the binary values (that is, the unsigned values) of the enumeration constants.
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0