Converting String to Stream in C#

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

...S.VinothkumaR.

2 comments:

avocat said...

Thanks !

Unknown said...

It's very helpful for me! Thanks!!