How to write a string in a resource file?
<p>how to write a string in a resource file? I tried this code, but I get an error: "ArgumentException. Path contains invalid characters."</p>

<pre><code>StreamReader reader = new StreamReader(Auctions_Parser.Properties.Resources.Settings);
                string content = reader.ReadToEnd();
                reader.Close();
                string ebay = "";

                if (checkBox1.Checked){ ebay = "1"; } else { ebay = "0"; }
                content = Regex.Replace(content, @"Ebay&amp;\d", "Ebay&amp;"+ebay);
                StreamWriter writer = new StreamWriter(Auctions_Parser.Properties.Resources.Settings);
                writer.Write(content);
                writer.Close();
</code></pre>

<p>Settings.txt content:</p>

<pre><code>SaveFolder&amp;C:/Desktop/
Ebay&amp;1
Delcampe&amp;1
BidStart&amp;1
eBid&amp;1
Proxy&amp;0
OpenFolder&amp;0
TurnOff&amp;0
</code></pre>

<p>Exception indicates the first line of code (<code>StreamReader reader = new StreamReader(Auctions_Parser.Properties.Resources.Settings);</code>)</p>
