You are developing an application that retrieves patient data from a web service. The application
stores the JSON messages returned from the web service in a string variable named PatientAsJson.
The variable is encoded as UTF-8. The application includes a class named Patient that is defined by
the following code:
You need to populate the Patient class with the data returned from the web service.
Which code segment should you use?

A.
Option A
B.
Option B
C.
Option C
D.
Option D
A
3
0
… because DataContractSerializer doesn’t contain info about the data type to use, and hence you should set it yourself when you deserialize string
0
0