题目内容

下面哪些是合法的标识符?()(2分)

A. persons_1
B. TwoUsers
C. *point
D. this

查看答案
更多问题

现在关于集合类型描述正确的有()(2分)

ArrayList类可以实现泛型操作
B. System.Collection命名空间中的集合类型存在类型转换时的安全性问题
C. out关键字及ref关键字在使用时的要求不同,但是IL代码是一样的
D. System.Collection.Generic.List类可以实现类型化的链表操作

下列语言中支持.NET编程的有()(2分)

A. C
B. C++
C. VB
DELPHI

在windows应用程序中,Main方法不是必须的.(2分)

A. 对
B. 错

下列程序中,DllImport属性的用法是否正确?usingSystem;usingSystem.Runtime.InteropServices;namespaceCS_15{publicclassTest{[DllImport("KERNEL32.DLL",EntryPoint="MoveFileW",CharSet=CharSet.Unicode)]publicexternboolMoveFile(stringsrc,stringdst);staticvoidMain(string[]args){MoveFile(@"e:\1\1.txt",@"e:\2\");}}}(2分)

A. 对
B. 错

答案查题题库