You work as a senior developer at ABC.com. The ABC.com network consists of a single domain
named ABC.com.
You are running a training exercise for junior developers. You are currently discussing the
DataContractSerializer class.
Which of the following is TRUE with regards to the DataContractSerializer class?
A.
It is used to serialize and deserialize instances of a type into an HTML stream.
B.
It is used to serialize and deserialize instances of a type into an SSL stream.
C.
It is used to serialize and deserialize instances of a type into a TLL stream.
D.
It is used to serialize and deserialize instances of a type into an XML stream.
Explanation:
D: Because dataContractSerializer is used by WCF to serialize a type into an XML Stream o in JSON