String To MemoryStream (C#)

This code snippet shows how you can convert a string in to a MemoryStream.

Snippet

MemoryStream mStream =
   new MemoryStream(ASCIIEncoding.Default.GetBytes("Your string here"))