Exercise #12 - Passing by Reference

Write a method named "Swap" that takes two integers as reference parameters and swaps their values.

For example:

   int x = 1, y = 2;
   Console.WriteLine(x + " " + y);     // Outputs 1 2
   Swap(ref x, ref y);
   Console.WriteLine(x + " " + y);     // Should now output 2 1

The swap method should work with any values stored in x and y, not just the values given in this example.