Answers for "C# for each value in a 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