I was trying to deserialise a class from a string using the SoapFormatter today.
As part of the process, you have to put it into a stream.
So I used System.IO.MemoryStream and System.IO.StreamWriter to do so.
StreamWriter sw = new StreamWriter(stream);
Read More