Converting String to Stream in C#

Stream s = new MemoryStream(ASCIIEncoding.Default.GetBytes("Test String"));

...S.VinothkumaR.

2 comments:

Samuel said...

Thanks !

Ruony said...

It's very helpful for me! Thanks!!