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