c# Enum.GetValues typeof Keys LWinR code example
Example 1: c# get enum in list
Enum.GetValues(typeof(SomeEnum)).Cast<SomeEnum>();
Example 2: c# convert enum to list
Enum.GetValues(typeof(SomeEnum)).Cast<SomeEnum>();
Enum.GetValues(typeof(SomeEnum)).Cast<SomeEnum>();
Enum.GetValues(typeof(SomeEnum)).Cast<SomeEnum>();