微软认证
2013微软认证模拟练习题(11)
日期:2013-10-17 10:58

1下列程序中,DllImport属性的用法是否正确 ()
public class Test
[DllImport(kernel32.dll,EntryPoint=movefilew,CharSet=CharSet.Ansi)]
public int movefile(string src ,string dst);
A,错误
B,正确
答案:A
2以下类TestClass中,只读属性Count的声明是否合法 ()
public class TestClass
{
private int i ;
public int Count
{
get
{
return this.i;
}
}
}
A,不合法
B,合法
答案:B
3,在C#程序中,为了给类型CompCS.SringComponent起一个别名CsStringComp,其正确的语法是().
A,using CsStringComp=CompCS.Strin

1/3 下一页 上一页 首页 尾页

微软认证


返回 刷新 WAP首页 网页版 登录
04/27 00:06