I am looking for example code that provides a unit test to serialize and deserialize an object from a memory stream. I have found examples using C# 2.0, however my current project uses VB.NET 1.1 (don’t ask me why…), so the solution can not use generics. I am also using the NUnit framework for the unit tests.
Thanks!
This is the pattern I’ve settled upon: