C# StreamWriter overwriting my file
<p>im using SteamWriter to write something to a text file, however its overwriting the old data with the new data
how can i make sure it will just add the new data instead overwriting the old data?
my code is:</p>

<pre><code>class Program
{
    const string filename = @"C:\log.txt";

    static void Main()
    {

                    FileStream fs;
                    fs = new FileStream(filename, FileMode.Create, FileAccess.Write);
                    StreamWriter writer = new StreamWriter(fs);
                    writer.WriteLine("test");

                    writer.Close();
                    fs.Close();
    }
}
</code></pre>

<p>so basically i just want it to add the new data instead of overwriting on the old data :)</p>
