Blog

Output of following code:

static void Main(string[] args){
int[] array = { 3, 11, 43, 683, 2731 };
array[3] = 20;
array[4] = 10;
array[1] = 30;
array[2] = 40;
array[0] = 50;
array = new int[10];
Console.WriteLine(array[4]);
}