You're asking how to write data to a file in C#?
If it's all text you can use System.IO.StreamWriter or if it's XML there's the System.Xml.XmlTextWriter but if it's some other type of data we'd need to know what as to point you in the right direction.
Your efforts are appreciated but please use appropriate formatting tags when posting code snippets - especially long code snippets - for readability. I have edited your posts accordingly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.