Use the Serializable attribute to serialize an object

By [)ia6l0 iii

Decorate your class or a struct with the Serializable attribute, so that the .net runtime serializes the fields of the object.

[Serializable]
public class MyClass      

Use the Serializable attribute to serialize an object  (1093 Views)