title: App.config: User vs Application Scope
body: <p>I have added App.config file in my project.
  I have created two settings from Project > Properties > Settings panel - </p>
  
  <p><a href="https://i.stack.imgur.com/FHMTf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FHMTf.png" alt="enter image description here"></a></p>
  
  <p>I have noticed that when I am adding a setting, I can define scope as <code>User</code> or <code>Application</code>. -</p>
  
  <ol>
  <li>User</li>
  <li>Application</li>
  </ol>
  
  <p>If I define setting as <code>User</code> it goes to<code>userSettings</code> section, <br/>
  if I define setting as <code>Application</code> it goes to <code>applicationSettings</code> section</p>
  
  <p><strong>App.config</strong></p>
  
  <pre><code>&lt;configuration&gt;
  
      &lt;userSettings&gt;
          &lt;DemoApp.Properties.Settings&gt;
              &lt;setting name="MySetting1" serializeAs="String"&gt;
                  &lt;value&gt;Value1&lt;/value&gt;
              &lt;/setting&gt;
          &lt;/DemoApp.Properties.Settings&gt;
      &lt;/userSettings&gt;
  
      &lt;applicationSettings&gt;
          &lt;DemoApp.Properties.Settings&gt;
              &lt;setting name="MySetting2" serializeAs="String"&gt;
                  &lt;value&gt;Value2&lt;/value&gt;
              &lt;/setting&gt;
          &lt;/DemoApp.Properties.Settings&gt;
      &lt;/applicationSettings&gt;
  
  &lt;/configuration&gt;
  </code></pre>
  
  <p>But, these settings can be accessed in the same way from <code>.cs</code> -</p>
  
  <p><strong>Code</strong></p>
  
  <pre><code>string mySetting1 = DemoApp.Properties.Settings.Default.MySetting1;
  string mySetting2 = DemoApp.Properties.Settings.Default.MySetting2;
  </code></pre>
  
  <p>What is the difference between <code>User</code> and <code>Application</code> scope and under what circumstances one should choose between these two?</p>