title: Why changing one array changes another array in C#?
body: <p>I have a two dimensional array namely States in C#. I build a one dimensional array, namely SubState, from States. When I change SubState, States changes too. I want States be unchanged. Thanks</p>
  
  <pre><code>int[] SubState = State [0];
  SubState[0]-=1; //State[0][0] is also changed here
  </code></pre>