Answers for "foreach over enum"

6

enum foreach

foreach (Suit suit in (Suit[]) Enum.GetValues(typeof(Suit)))
{
}
Posted by: Guest on March-23-2020

Browse Popular Code Answers by Language