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

单项选择题

You are testing a component that serializes the Meeting class instances so that they can be saved to the file system. The Meeting class has the following definition:

The component contains a procedure with the following code segment. 
Meeting myMeeting = new Meeting("Goals"); 
myMeeting.roomNumber=1100; 
string[] attendees = new string[2]{"John", "Mary"}; 
myMeeting.invitees = attendees; 
XmlSerializer xs = new XmlSerializer(typeof(Meeting)); 
StreamWriter writer = new StreamWriter(@"C:\Meeting.xml"); 
xs.Serialize(writer, myMeeting); 
writer.Close();
You need to identify the XML block that is written to the C:\Meeting.xml file as a result of running this procedure.Which XML block represents the content that will be written to the C:\Meeting.xml file?()

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

点击查看答案

相关考题

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

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