Serializable
attributeThe presence of the Serializable
attribute on a class indicates that the class can be serialized..
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Delegate | AttributeTargets.Enum | AttributeTargets.Struct)] public class SerializableAttribute: System.Attribute { public SerializableAttribute() {…} }