Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

update a file where there is a keyword c#

string text = File.ReadAllText("test.txt");
text = text.Replace("some text", "new value");
File.WriteAllText("test.txt", text);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #update #file #keyword
ADD COMMENT
Topic
Name
9+1 =