静态类调用内部枚举数组的方法

贼tm坑,不能直接调用,非得写一堆堆。

   string[] str = Enum.GetNames(typeof(IdentifyDemoEnum));


  public enum IdentifyDemoEnum
        {
            result_num,
            ext_info,
            faceliveness,
            result,
            group_id,
            uid,
            user_info,
            scores
        }

猜你喜欢

转载自blog.csdn.net/weixin_36179862/article/details/80075237