black

MCPD(70-536)

登录

单项选择题

You develop a serializable class for persisting objects as files.
Every time an object is serialized, you have to update the database with the name of the object and location of that file.
You elect to employ the OnSerialized attribute to achieve this objective.
You now need to apply the OnSerialized attribute to a certain method.
What should you do?()

A.
B.
C.
D.

相关考题

单项选择题 You have recently created a serializable class named Vehicle. The class is shown below: [Serializable] public class Vehicle{ public string VIN; public string Make; public string Model; public string Year; } You are planning to create a custom formatter class to control the formatting of Vehicle objects when they are serialized. You need to ensure that is achieved with as little development effort as possible. What should you do?()

单项选择题 Certkiller.com has given you the task of serializing an object and writing it to a data file using binary serialization. You need to ensure that you meet these requirements. What should you do?()

单项选择题 You need to serialize an object of type List<int> in a binary format. The object is named data. Which code segment should you use?()

All Rights Reserved 版权所有©考试题库网(kstiku.com)

备案号:湘ICP备14005140号-3

经营许可证号:湘B2-20140064