how to get name of enum item in c# code example Example: c# get enum in list Enum.GetValues(typeof(SomeEnum)).Cast<SomeEnum>();