gordon

gordon

  • NA
  • 49
  • 0

Enum Type

Dec 25 2009 8:49 AM

I have the following enum type:
public
enum IconColor : short
{ Red = 1, Blue, Green, Black, Pink, Yellow };
What do I need to do to be able to check the values in a foreach loop? Or check to see if the enum contains a value i.e(Pink).

Answers (1)