Find greatest number without using relational operator in C#



using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GreatestNo
{
    class Program
    {
        static void Main(string[] args)
        {
           
            Console.WriteLine("Max no.{0}", getMax(Convert.ToInt32(Console.ReadLine()), Convert.ToInt32(Console.ReadLine())));

            Console.ReadLine();
        }

        static int getMax(int a, int b)
        {
            int c = a - b;
            int k = (c >> 31) & 0x1;
            int max = a - k * c;
            return max;
        }
    }
}
 
-------------------------------------------------------------------------------

Additionally want to know this: Garbage Collection