2

I have (for most of you) simply question. Let's have array a={0,1,2,3,4} and int i=2. Now let's do few operations in both (C# & C++). Once it will be a[i]=i++ and once a[i]=++i. Not both at once, always separately. The results were (for i=2 at start):
C#:
int[] a={0,1,2,3,4};
i=2;
a[i]=i++; //...