// Remember to Flush the Stream and set the position to 0
stream.Flush();
stream.Position = 0;
// Create a StreamReader to Read the Stream and Return the String
System.IO.StreamReader sr = new System.IO.StreamReader (stream);
return sr.ReadToEnd();
}
And thus, our coding (development) part is successfully finished. The next section helps you to build the solution and test it from within Visual Studio.NET IDE to your own satisfaction.