c# convert item to list code example Example: c# convert enum to list Enum.GetValues(typeof(SomeEnum)).Cast<SomeEnum>();