Convert object to byte[] and back
I'm wanting to write objects of various types to a file as bytes and then retrieve then later reading in the bytes, converting them back to the object.
Any ideas on how to get started on this?
I haven't seen any classes in MSDN library so far that will do a direct conversion from any object to a byte[] and vice versa.
Thanks everyone!