title: A change in one object changes the second one too
body: <p>I'm creating two objects and assign them with a data from <code>IsolatedStorage</code>.
  But when I change one object the second one changes too. ( I think the problem may be the pointers are the same, but I can't solve it. )</p>
  
  <pre><code>private ArrayOfClsSimpleData lstUsers;
  private ArrayOfClsSimpleData tmpLstUsers;
  </code></pre>
  
  <p>in class' globals</p>
  
  <pre><code>tmpLstUsers = IsolatedStorageHelper.GetObject&lt;ArrayOfClsSimpleData&gt;("users");
  lstUsers = IsolatedStorageHelper.GetObject&lt;ArrayOfClsSimpleData&gt;("users");
  </code></pre>
  
  <p>The first status of the arrays:</p>
  
  <pre><code>Debug.Write(lstUsers.Count)
  </code></pre>
  
  <p><strong>Output:</strong> 2</p>
  
  <pre><code>Debug.Write(tmpLstUsers.Count)
  </code></pre>
  
  <p><strong>Output:</strong> 2</p>
  
  <p>The counts are the same as expected. But, after I add an item to one list, the other list gets updated too and the counts are still same.</p>
  
  <pre><code>lstUsers.Add(new ArrayOfClsSimpleData());
  
  
  Debug.Write(lstUsers.Count)
  </code></pre>
  
  <p><strong>Output:</strong> 3</p>
  
  <pre><code>Debug.Write(tmpLstUsers.Count)
  </code></pre>
  
  <p><strong>Output:</strong> 3</p>
  
  <hr>
  
  <p>EDIT : <code>IsolatedStorageHelper</code> class is something to help to get objects, save object etc. that I do use for simplifying things, so just think it as getting objects from <code>IsolatedStorage</code>.</p>
  
  <p>it is implemented like this:</p>
  
  <pre><code> public static T GetObject&lt;T&gt;(string key)
      {
          if (IsolatedStorageSettings.ApplicationSettings.Contains(key))
          {
              return (T)IsolatedStorageSettings.ApplicationSettings[key];  // return the object 
          }
  
          return default(T); // if key doesn't exists , return default object
      }
  </code></pre>
  
  <p>So it just gets it from IsolatedStorage.
  If you don't know isolated storage you can see it from <a href="https://msdn.microsoft.com/en-us/library/windows/apps/system.io.isolatedstorage.isolatedstoragesettings(v=vs.105).aspx" rel="nofollow noreferrer">here</a></p>
  
  <p>So, how can I fix the code so that I can change one without changing the other?</p>