Head First C# by Jennifer Greene & Andrew Stellman

Head First C# by Jennifer Greene & Andrew Stellman

Author:Jennifer Greene & Andrew Stellman [Jennifer Greene and Andrew Stellman]
Language: eng
Format: epub
Tags: COMPUTERS / Programming Languages / C#
ISBN: 9781449358860
Publisher: O’Reilly Media
Published: 2013-08-25T16:00:00+00:00


Note

When you use binary serialization, you’re writing “pure”(-ish) data: actual bytes in memory get glued together and written to a file, along with just enough information for the binary formatter to figure out which bytes go with which class members in the object graph. One little change to just one class, and suddenly none of the bytes line up anymore, and when you try to deserialize you’ll get an error.

A data contract is an abstract definition of your object’s data

A data contract is a formal agreement that’s attached to your class. The contract uses the [DataContract] and [DataMember] attributes to define exactly what data gets read or written during serialization.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.