单项选择题
在C#中,下列代码运行结果是()Hashtable hsStu=new Hashtable();hsStu.Add(3,"甲");hsStu.Add(2,"乙");hsStu.Add(1,"丙");Console.WriteLine(hsStu[3]);
A.3
B.甲
C.1
D.丙
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
在C#中,下列代码的运行结果是()struct Student{public int age;public string name;public Student(int age,string name){this.sge=sge;this.name=name;}}public class Test{static void Main(){Student stu1=n
A.18小芳
B.18小燕
C.30小燕
D.30小芳
点击查看答案
单项选择题
在C#中,下列代码的运行结果是()static void main(){int[] num1=new int[]{1,2,3,4,5};int[] num2=new int[5]{6,7,8,9,10};Array.Copy(num1,num2,1);foreach(int i in num2){Console.Write(i);}}
A.62345
B.678910
C.12346
D.178910
点击查看答案
相关试题
在.NET类库中所有的类都是直接或间接的继...
关于垃圾回收机制的哪些叙述是对的?()
为了向程序中添加Gopher协议,以支持以〈Go...
现在关于集合类型描述正确的有()。
在C#中++运算符正确的是()。