经典指数          
原因
509
浏览数
0
收藏数
 

下列哪个是 C# 中运行时常量的定义方法()
  • public static readonly int Port = 47896
  • public const int Port = 47896
  • public static const int Port = 47896
  • public static sealed int Port = 47896

     举报   纠错  
 
切换
1 个答案
A,是运行时常量 B是编译时常量 因此选A
 
切换
撰写答案
扫描后移动端查看本题