string s1 = "This is";
string s2 = "Overview";
List<string> lines = Files.ReadLines(f).ToList();
If (lines.Count>i)
lines.Insert(i, s1+ s2);
else
lines.Add(s1 + s2);
File.WriteAllLines(f, lines);
I am getting an out put of This is Overview... I need an out of This is "Overview"..
I tried putting apostrophes directly but it says error.. Any help is appreciated.