I have a string (xml), and I need to temporarily store it as a memory stream, and then save it as a file at the end.
I know that we can directly store xml in a file using a text editor, but that is not what I want. I want the string to be converted to a memory stream and then written to the stream.
how can i implement this? Code sharing will be very helpful.
source
share