c# get a list of enum values code example Example: c# get enum in list Enum.GetValues(typeof(SomeEnum)).Cast<SomeEnum>();