Implementing serialization/deserialization with binary formatter
In this repo, i m implementing 3 ways of serialization/deserialization with binary formatter :
1️⃣ BasicSerialization
Models are only decorated with Serializable attribute
2️⃣ CustomSerialization
Models are decorated with Serializable attribute
Models are implementing ISerializable interface
3️⃣ ThirdPartySerialization
Models are considered as third party classes (can't be modified)
Models are serialized using ISerializationSurrogate interface
To run code in debug or release mode, type the following commands in your favorite terminal :
.\App.exe
.\App.exe Default
.\App.exe Basic
.\App.exe Custom
.\App.exe ThirdParty
Tools
: vs19, net 3.1, binary formatter, bullseye