namespace po2
{
class Program
{
static void Main(string[] args)
{
int[] tab;
tab = new int[10];
tab[1] = 10;
foreach (int i in tab)
Console.WriteLine(tab);
Console.ReadKey();
}
}
}
Dlaczego nie wypisuje dla indeksu 1 wartości 10 tylko napis System.int32 ?