單項(xiàng)選擇題

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

題目列表

你可能感興趣的試題

單項(xiàng)選擇題

為應(yīng)用程序開(kāi)發(fā)人員上班 Certkiller.com,Certkiller.com 使用 Visual Studio.NET 2005 作為其應(yīng)用程序開(kāi)發(fā)平臺(tái)。
您使用名為 Certkiller 的 Windwos XP 專(zhuān)業(yè)版客戶(hù)端計(jì)算機(jī)-WS554 為您的開(kāi)發(fā)計(jì)算機(jī)。
您正在開(kāi)發(fā).NET Framework 2.0 應(yīng)用程序上 Certkiller-WS536。應(yīng)用程序?qū)⒂糜谕ㄟ^(guò) internet 發(fā)送的數(shù)據(jù)。
您必須確保發(fā)送的數(shù)據(jù)不被修改,或篡改在傳輸過(guò)程中,數(shù)據(jù)傳輸?shù)谋C苄圆恢匾?br /> 你最近決定通過(guò)使用一個(gè)密鑰來(lái)實(shí)現(xiàn)數(shù)據(jù)的哈希值和傳輸數(shù)據(jù)的哈希值。
數(shù)據(jù)的接收方應(yīng)該能夠檢測(cè)是否數(shù)據(jù)或哈希值已修改雖然接收器有權(quán)訪問(wèn)該密鑰用于計(jì)算哈希值。
此外,您必須確保 160 位密鑰序列應(yīng)該是可以接受的。
你應(yīng)該做什么?()

A.要編碼的數(shù)據(jù)在傳輸之前應(yīng)使用DESCryptoServiceProvider類(lèi)
B.要編碼的數(shù)據(jù)在傳輸之前應(yīng)使用HMACMD5類(lèi)
C.要編碼的數(shù)據(jù)在傳輸之前應(yīng)使用MACTripleDES類(lèi)
D.要編碼的數(shù)據(jù)在傳輸之前應(yīng)使用HMACSHA1類(lèi)

微信掃碼免費(fèi)搜題