public enum temp
{
  A
=1,
  B
=2,
  C
=3,
}



int A = (int)Enum.Parse(typeof(temp),"A");

 

相关文章:

  • 2022-03-10
  • 2021-12-21
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2021-11-09
猜你喜欢
  • 2022-12-23
  • 2022-02-02
  • 2021-12-26
  • 2022-02-04
  • 2021-12-02
  • 2022-01-27
相关资源
相似解决方案