Câu 19: 70-483: MCSD Programming in C
You are troubleshooting an application that uses a class named FullName. The class is decorated with the DataContractAttribute attribute. The application includes the following code. (Line numbers are included for reference only.) You need to ensure that the entire FullName object is serialized to the memory stream ob…
Nội dung câu hỏi
You are troubleshooting an application that uses a class named FullName. The class is decorated with the DataContractAttribute attribute. The application includes the following code. (Line numbers are included for reference only.) You need to ensure that the entire FullName object is serialized to the memory stream object. Which code segment should you insert at line 09?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. binary.WriteEndElement();
- B. binary.NriteEndDocument(); — đáp án hiện tại
- C. ms.Close();
- D. binary.Flush();
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.