如果是C#的话,enum枚举类型只能是除char以外的任何整型,所以你的代码不可行;
如果是Java的话,WC man = WC.Man;char m = (char)man;类型强制转换试试,不行就man.toString();后再转成char
(char)WC.Man或(char)WC.Women
1.将字符串转为枚举类型
Direction D1=(Direction)Enum.Parse(typeof(Direction),str);
2.获得枚举类型的值
Direction d = Direction.East; Console.WriteLine(d.ToString("d") + " "+ (int)d);
object val = Convert.ChangeType(WC.Women, WC.Women.GetTypeCode());