Serialization
This is the mechanism that allows us to represent objects in persistent text or binary form.
Deserialization
This allows us to convert a data stream back into an object
DataContract
NetDataContract
This is similar to DataContrctSerializer and has the same interface
This class however does not require the types to be explicitly registered for serialisation.
Formatters
XML and Binary
Binary Serialisation
There are two ways to support this
The first is using the {Serilizable] attribute
Derived Classes
A child object is an instance of a derived class
© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopNext