string[] nameList= System.Enum.GetNames(typeof(Word)); foreach (var name in nameList) { print(name);//获取名称 } 1 2 3 4 5