//Before C# 7's tuples, the standard way to swap two variables was something like: var foo = 5; var bar = 10; var temp = foo; foo = bar; bar = temp; //But now we can use (foo, bar) = (bar, foo); //It's on one line and it's prettier.