Q 2:- Which of following statement about serializing an object to XML are false?

Posted by Deepak_29j under Others on 9/16/2009 | Views : 2487 | Status : [Member] | Replies : 4
a. Serializing to xml is handled by XmlSerializer Class.
b. All private properties and fields are serialized.
c. All public, non Static properties and field are serialized.
d. The format of the generated Xml can be controlled using the Xmlelement attribute.
e. De-Serializing from Xml is handled by the XmlSerializer Class.




Responses

Posted by: Vuyiswamb on: 9/16/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Good Day Deepak_29j

You need to Post this in the Interview Section. I will give you an Hour to post there, because i will remove this Post.



Thank you for posting at Dotnetfunda
[Administrator]

Deepak_29j, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rtpharry on: 9/16/2009 [Member] [MVP] Bronze

Up
0
Down
b for sure, and I think also d.



Deepak_29j, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Poster on: 9/16/2009 [Member] Starter

Up
0
Down
Statement b is false
"b. All private properties and fields are serialized. "

Private properties and fields are not serialized.

Thanks



Deepak_29j, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Neeks on: 9/22/2009 [Member] Bronze

Up
0
Down
Are you asking the question after knowing the answer or you want to know the answer???

I think you might have to submit this Question in Interview Section to share the knowledge of Interview Questions


Thanks for posting....

Deepak_29j, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response