2013年微軟認(rèn)證練習(xí)及答案94

字號(hào):

為大家收集整理了《2013年微軟認(rèn)證練習(xí)及答案94》供大家參考,希望對(duì)大家有所幫助?。?!
    1.為了向需要客戶(hù)證書(shū)驗(yàn)證的web服務(wù)器提供有效客戶(hù)證書(shū),應(yīng)設(shè)置WebRequest的(A)屬性的值.
    A,ClientCertificates
    B,credentials
    C,headers
    D,user和password
    2下列程序中,DllImport屬性的用法是否正確 (A )
    public class Test
    [DllImport("kernel32.dll",EntryPoint="movefilew",CharSet=CharSet.Ansi)]
    public int movefile(string src ,string dst);
    A,錯(cuò)誤
    B,正確
    3,以下類(lèi)TestClass中,只讀屬性Count的聲明是否合法 (B)
    public class TestClass
    {
    private int i ;
    public int Count
    {
    get
    {
    return this.i;
    }
    }
    }
    A,不合法
    B,合法
    4,在C#程序中,為了給類(lèi)型CompCS.SringComponent起一個(gè)別名CsStringComp,其正確的語(yǔ)法是(A).
    A,using CsStringComp=CompCS.StringComponent;
    B,imports CsStringComp=CompCS.StringComponent;
    C,Alias CsStringComp=CompCS.StringComponent;
    D,Dim CompVB.StringComponent As CsStringComp
    5,在.NET Framework Class Library中提供了(B)技術(shù),以使托管應(yīng)用程序可以斷開(kāi)式的方式訪(fǎng)問(wèn)各種數(shù)據(jù)源.
    A,SQL Server
    B,ADO.NET
    C,ODBC.NET
    D,ADO