object[] o = new object[5];
for(int q = 0; q<o.Length; ++q)
string str1 = o[q] as string;
Console.WriteLine("{0}: ", q);
Console.WriteLine("'" + str1 + "'");
Console.WriteLine("It is not a string");
Console.WriteLine("===================================");
{Console.WriteLine("o[2] is object");}
{Console.WriteLine("o[4] is an integer");}
{Console.WriteLine("o[4] is not an integer");