Which of the following attributes should you add to a class to enable it to be serialized?
Interview question and answer by:
Rajni.Shekhar | Posted on: 4/19/2012 | Category:
C# Interview questions | Views: 1319 | |
Points: 40
Select from following answers:- ISerializable
- Serializable
 - SoapInclude
- OnDeserialization
Classes must have the Serializable attribute to be serialized.
Serialization is process to convert the object into byte streams to transport the object across network.
set [Serializable()] attribute to the classes those you want to serialize.
Show Correct Answer |
Asked In: Many Interviews
|
Alert Moderator
Found interesting? Add this to: