title: Deep copy value of dictionary to a variable c#
body: <p>I have a dictionary</p>
  <pre><code>employeeDict = new Dict&lt;int, Employee&gt;();
  </code></pre>
  <p>If I do</p>
  <pre><code>var employee = dict[1];
  </code></pre>
  <p>and then</p>
  <pre><code>employee.Name = &quot;Changed&quot;
  </code></pre>
  <p>It gets affected in the original dictionary too.
  What to do if I don't want that to happen?</p>