title: Changing the property of A object affects the changing the property of B object
body: <p>I have this line of code:</p>
  
  <pre><code>SomeClass a = new SomeClass();
  SomeClass b = a;
  a.price = 15;
  b.price = 20;
  
  Console.WriteLine(a.price); // output 20
  </code></pre>
  
  <p>First I create object a, and then object b. To object b I assigned object a. When I initialize property price to those object, as you can see price of object a is 15 and of b is 20. But when you assign 20 to price of object b, in the same time changes would be affected on price of object a. <strong>Why?</strong></p>
  
  <p>I mean what happens in memory to cause this?</p>