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
Post a Comment