Why following program is not executing?
using System;
class Program
{
static void Main()
{
int[] intA = {1,2,3,4,5};
string[] stringA = {"aa","bb","cc" };
A(intA);
A(stringA);
Console.ReadKey();
}
static void A(object[] x)
{
foreach (object item in x)
{
Console.WriteLine(item);
}
}
}