public static void Main(String[] args)
Console.WriteLine("Please input two integer values: ");
Console.WriteLine("The first integer is: " + integerA);
Console.WriteLine("The second integer is: " + integerB);
Console.WriteLine("Since the first integer is larger than the second integer the values will now swap ");
Console.WriteLine("The first integer is now: " + integerA);
Console.WriteLine("The second integer is now: " + integerB);
private static void input(out double result)
while (!double.TryParse(Console.ReadLine(), out result));
private static void input(out int result)
while (!int.TryParse(Console.ReadLine(), out result));
private static void input(out Boolean result)
while (!Boolean.TryParse(Console.ReadLine(), out result));
private static void input(out string result)
result = Console.ReadLine();