What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Mark the Product class with the DataContract attribute.
B. Mark the public members of the Product class with the DataContractFormat attribute.
C. Mark the Product class with the CollectionDataContract attribute.
D. Mark the public members of the Product class with the DataMember attribute.
Answer:A
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Mark the Product class with the DataContract attribute. B. Mark the public members of the Product class with the DataContractFormat attribute. C. Mark the Product class with the CollectionDataContract attribute. D. Mark the public members of the Product class with the DataMember attribute.
Explanation: So as of .NET 3.5 SP1, you don\'t have to add data contract or data member attributes anymore - if you don\'t then the