Answers for "loop through an enum c#"

C#
10

loop through an enum c#

public enum Days {
  Monday,
  Tuesday,
  Wednesday
}

foreach(Days day in Enum.GetValues(typeof(Days))) {
  
}
Posted by: Guest on May-21-2020

C# Answers by Framework

Browse Popular Code Answers by Language