How to get System.IO.Stream from a String Object

I have string object. I need to pass this data to another object of type XYZ. But this object of type XYZ is taking only System.IO.Stream. So how to convert the string data into a stream so that object of XYZ type can use this string data?

12
задан Mohan Gundlapalli 28 September 2010 в 12:48
поделиться