c#winform 笔试测试题 C#winform 笔试测试题(100 分)一.选择题(2*30=60)1
如下的 C#程序代码,程序运行时在控制台打印输出值为()
(选择一项)Int count=3;while(count>1){ Console
Write(--count);}a) 32b) 321c) 21d) 22
在 C#中,下列代码的运行成果是()(选择一项)Using Sysatem;Class Test{ Static void main(string [] args){ String[]strings={“a”,”b”,”c”,}; Foreach(string info in strings){ Console
write(info);}}}(a) abc(b) a(c) b(d) c3
既有如下一段 C#代码,该代码的运行成果是()
(选择一项) Public static void Main(){ For(int i=1; i18) Continue; Console
Write(i
ToString()+” ”);}a) 16 18 20 14 22b) 16 18 14 22c) 16 18 14d) 16 185 如下有关 C#代码的说法对的的是()
(选择一项)for(int i=1;i