I have a string(xml) and I need to store it temporarily as memory stream and then store it as file at the end.
I know we can directly store xml in a file using textwriter but that is not what I want. I want the string to be converted to memory stream and then write into filestream.
how can I implement this? Sharing the code will be very helpful.
If I get you, you want to open memory stream on a char array (string) that represents XML?