static void Main()
    {
        foo f = new foo();

        f.MyMemory = new System.IO.MemoryStream();

        f.Write("information");
    }