Help with c# code

Im not really sure how to explain this, so I really hope it makes sense… I want these two things to switch so Thing1 becomes Thing2 and Thing2 becomes Thing1.

Thing1 = Thing2
Thing2 = Thing1

When the code (its c#) is executed Thing1 becomes Thing2 and then at the second line Thing2 equals Thing2, so I end up with both being Thing2 instead of them switching. How can I make it so they switch? Thanks a lot if you can help me.

The standard method is to use a temporary variable.

var temp = thing1;
thing1 = thing2;
thing2 = temp;