using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace multithreading
{
class Program
{
static void Main(string[] args)
{
int[] numbers = new int[1001];
for (int i = 0; i < 1000; i++)
{
numbers[i] = i;
Console.WriteLine(numbers);
}
Console.ReadKey();
}
}
}
this code is not work properly.if i change console.writeline(number) to console.writeline(i)it will work.why?