欢迎来到易学考试网 易学考试官网
全部科目 > 微软认证考试 > MCTS > MCTS(70-561)

单项选择题

You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application that will connect to the Microsoft SQL Server 2005 database. Your application contains the following code.
01 DataTable dt = new DataTable(); 
02 dt.Columns.Add("number"); 
03 dt.Columns.Add("string");
04 dt.Rows.Add(1, "3"); 
05 dt.Rows.Add(2, "2"); 
06 dt.Rows.Add(3, "1"); 
07 var result = from p in dt.AsEnumerable() 
08 
09 foreach (var number in result) { 
10     Console.Write(number.ToString()); 
11 }  
You need to display the string "321". 
What should you do?()


    A.A
    B.B
    C.C
    D.D

点击查看答案

相关考题

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

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