Blog

What is the output of the code below?

int[] v = {8, 2, 5};
int i = 2;
v[i++] = 10;
Console.WriteLine(v);