Answers for "loop over all values in enum"

C#
3

loop over all values in enum

var values = Enum.GetValues(typeof(Foos)).Cast<Foos>();
Posted by: Guest on April-14-2020

C# Answers by Framework

Browse Popular Code Answers by Language