Daniel wrote:
> in C# fastest way to convert a string into a MemoryStream
If it's sufficient for you obtaining a stream, you can use StringReader
class:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemiostringreaderclasstopic.aspotherwise you can read the stringreader and write a memorystream.