Horje
loop through all enum values in C# Code Example
loop through all enum values in C#
var values = Enum.GetValues(typeof(Foos));
foreach(Foos foo in values) {
	// do something, use foo
}

// or
foreach(Foos foo in Enum.GetValues(typeof(Foos))) {
	// do something, use foo
}




Csharp

Related
Text Split Code Example Text Split Code Example
how to install pyaurogui on windows Code Example how to install pyaurogui on windows Code Example
c# tostring mmm dd yyyy Code Example c# tostring mmm dd yyyy Code Example
c# remove from list in foreach Code Example c# remove from list in foreach Code Example
get self component in unity Code Example get self component in unity Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10