angelo rajkumar

angelo rajkumar

  • NA
  • 2
  • 2.2k

Working with Integer Arrays

Oct 15 2013 12:36 PM
Hi all,

Here is my simple piece of code of a Console Application..

int[]    a= {1,2,3,4};
char[] b= {'a','b','c'};
Console.WriteLine(a);
Console.WriteLine(b);

Result:

System.Int32[]
abc 

When printing, why it is displaying 'System.Int32[]'?

Answers (2)