title: C# - Swapping objects without a placeholder
body: <p>I was told that using a temp object was not the most effective way to swap elements in an array.</p>
  
  <p>Such as:</p>
  
  <pre><code>Object[] objects = new Object[10];
  // -- Assign the 10 objects some values
  var Temp = objects[2];
  objects[2] = objects[4];
  objects[4] = Temp;
  </code></pre>
  
  <p>Is it really possible to swap the elements of the array without using another object?</p>
  
  <p>I know that with math units you can but I cannot figure out how this would be done with any other object type.</p>