Horje
enum get all values C# Code Example
loop through an enum c#
public enum Days {
  Monday,
  Tuesday,
  Wednesday
}

foreach(Days day in Enum.GetValues(typeof(Days))) {
  
}
enum get all values C#
//typed
var values = Enum.GetValues(typeof(Foos)).Cast<Foos>()
c# iterate enum
var values = Enum.GetValues(typeof(Foos));




Csharp

Related
while c# Code Example while c# Code Example
c# add time to datetime Code Example c# add time to datetime Code Example
unity color set alpha Code Example unity color set alpha Code Example
unity yield return Code Example unity yield return Code Example
c# int to string Code Example c# int to string Code Example

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