hi can anyone tell me how to convert a string to stream?
how to convert a string to stream?
Collapse
X
-
Tags: None
-
Firstly you should be posting in the Questions forum, not the insights one. Could you refrain from posting here please.
Secondly, why do you need to convert it to a stream? If you describe the problem, there might be a better way to do it...
If you really want to go down that route, make a StreamWriter, and then wrap it up in a StreamReader. Then you can write your string to the StreamWriter, and then read the string back within the StreamReader. As I say, there may well be a better way to do this if you share more details on your problem.
Comment