AppendAllLines alternative solution
<p>I am trying to write a txt file from C# as follows:</p>

<pre><code> File.WriteAllText("important.txt", Convert.ToString(c));
 File.AppendAllLines("important.txt", (from r in rec
                     select r.name + "   " + r.num1 + "   " + r.num2 + "   " + r.mult + "   " + r.rel).ToArray());
</code></pre>

<p>I am getting error <code>AppendAllLInes</code> not found for system.IO.File any alternative approach or how can I include <code>AppendAllLInes</code></p>
