Which of the following attributes should you add to a class to enable it to be serialized?

Which of the following attributes should you add to a class to enable it to be
serialized?
A. ISerializable
B. Serializable
C. SoapInclude
D. OnDeserialization

Classes must have the Serializable attribute to be serialized.

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.