stephenhaunts.com
Serializing POCO’s to Byte Arrays in C#
I have recently had a need to serialize objects in .NET down to a byte array to send to another system for a project that I was working on, so I thought I would share some of the code. I have writt…