How can you enumerate an enum in C#?
enum
E.g. the following code does not compile:
public enum Suit {
public void PrintAllSuits() { foreach(string suit in Enum.GetNames(typeof(Suits))) { Console.WriteLine(suit); } }