欢迎来到建筑考试题库网 建筑考试题库官网
全部科目 > 微软认证考试 > MCPD > MCPD(70-505)

单项选择题

You are creating a Windows Forms application by using the .NET Framework 3.5. The application requires a thread that accepts a single integer parameter.   
You write the following code segment (Line numbers are included for reference only.)
Thread myThread = new Thread(new ParameterizedThreadStart(DoWork)) ; 
myThread.Start(100);
You need to declare the method signature of the DoWork method.  
Which method signature should you use?()

    A.public void DoWork();
    B.public void DoWork(int nCounter);
    C.public void DoWork(object oCounter);
    D.public void DoWork(Delegate oCounter);

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题