How we can modify a file? such as insert or remove a string from file in C#. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How we can modify a file? such as insert or remove a string from file in C#.

20th May 2018, 7:51 AM
Mohammad Kazemi
Mohammad Kazemi - avatar
4 Answers
+ 11
You can remove text from a string using the String.Remove method. .... Or you can download the samples as a zip file. https://docs.microsoft.com/en-us/dotnet/csharp/how-to/modify-string-contents
20th May 2018, 8:23 AM
Abhivarshini Maddala
Abhivarshini Maddala - avatar
+ 7
What language?
20th May 2018, 7:57 AM
Hatsy Rei
Hatsy Rei - avatar
0
C#
20th May 2018, 7:58 AM
Mohammad Kazemi
Mohammad Kazemi - avatar
0
kalmr
26th May 2018, 2:50 PM
Azize Tarousse
Azize Tarousse - avatar