title: How to add/edit project resources from within the code in C#?
body: <p>I want to add or edit my C# project resources from within the code. For example I have a string called <em>myString</em> in project resources. Now I want to change the value of this string:</p>
  
  <pre><code>MyProject.Properties.Resources.myString = "NewStringValue";
  </code></pre>
  
  <p>But the compiler gives an error that this property is read only. I also want to add an image by browsing the image and adding it to the project resources.
  Any idea how I can do this?
  Thanks in advance.</p>
  
  <p>P.S: I am using Windows Form.</p>