Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

enum get all values C#

//typed
var values = Enum.GetValues(typeof(Foos)).Cast<Foos>()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #enum #values
ADD COMMENT
Topic
Name
9+7 =