title: Application level variable in WPF
body: <p>I have an application level variable in one window</p>
  
  <pre><code>  object temp1 = App.Current.Properties["listofstring"];
  
     var temp2 = (List&lt;string&gt;)temp1;
  </code></pre>
  
  <p>when iam changing lets say</p>
  
  <pre><code> temp2[0]="abc";
  </code></pre>
  
  <p>it also change that in <strong>"listofstring"</strong></p>
  
  <p>so i made a copy </p>
  
  <pre><code>List&lt;string&gt; temp3 = temp2;
  </code></pre>
  
  <p>but if i do </p>
  
  <pre><code> temp3[0] ="abc"; 
  </code></pre>
  
  <p>it change in <strong>"listofstring"</strong> too when accessed in other window ?</p>
  
  <p>How do i use only <strong>local copy</strong> of it <strong>not disturb</strong> its contents once declared?</p>