Answers for "get all values of an enum"

C#
0

enum get all values C#

//typed
var values = Enum.GetValues(typeof(Foos)).Cast<Foos>()
Posted by: Guest on April-28-2021

Code answers related to "get all values of an enum"

C# Answers by Framework

Browse Popular Code Answers by Language