YouaretestingacomponentthatserializestheMe

题目内容(请给出正确答案)

YouaretestingacomponentthatserializestheMeetingclassinstancessothattheycanbesavedtothefilesystem.TheMeetingclasshasthefollowingdefinition:

Thecomponentcontainsaprocedurewiththefollowingcodesegment.

MeetingmyMeeting=newMeeting("Goals");

myMeeting.roomNumber=1100;

string[]attendees=newstring[2]{"John","Mary"};

myMeeting.invitees=attendees;

XmlSerializerxs=newXmlSerializer(typeof(Meeting));

StreamWriterwriter=newStreamWriter(@"C:\Meeting.xml");

xs.Serialize(writer,myMeeting);

writer.Close();

YouneedtoidentifytheXMLblockthatiswrittentotheC:\Meeting.xmlfileasaresultofrunningthisprocedure.WhichXMLblockrepresentsthecontentthatwillbewrittentotheC:\Meeting.xmlfile?()

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。