Code:
class test
{
static void show(params object[] b)
{
console.WriteLine(b.GetType().FullName);
console.WriteLine(b.length);
console.WriteLine(b[0]);
}
public static void Main()
{
Object a[]={1,"hi",4000};
show((Object)a);
}
}
======
System.Object[]
1
System.Object[]
How its coming i don't Know.Please explain this.
What is the use of GetType()
What is the use of FullName
Comment