c# - How do I create a text file on server or memory? -


How do I create a text file and write string content in it? I'm planning on later in the context of the text file, it can be on the server (root folder) or anywhere, where I can refer to it. Below is the string content

  foreach (stringlists search in string s) {if (result. Inserts) results = result. Replay (S, StringToplay);  

You can use the method:

  String result = "FU bar"; File. Type all text (@ "c: \ foo.txt", the result);  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -