Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

foreach enum

foreach (MyEnum enumValue in (MyEnum[]) Enum.GetValues(typeof(MyEnum)))
{
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #foreach #enum
ADD COMMENT
Topic
Name
3+5 =