Serialization is the conversion of an object instance to a data stream of byte values. The serialization is performed by the CLR and occurs when an object must be converted to a persistent form to be stored in an information retrieval system (e.g., a database), on media (e.g., a file on a disk), or when marshaled across a context, application domain, process, or machine boundary.