public enum typeList
        {
            type1,
            type2,
            type3
        }

 

Response.Write(Enum.GetNames(typeof(typeList)).Length);

相关文章:

  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-07
  • 2021-09-20
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2021-12-05
相关资源
相似解决方案