Why below code is Writing B not A.
namespace console
{
class Program
{
static void Main(string[] args)
{
FnTest(1);
Console.ReadLine();
}
public static void FnTest(object a)
{
Console.WriteLine("A");
}
public static void FnTest<T>(T a)
{
Console.WriteLine("B");
}
}
}