CJCoding With Joseph
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
C# Quiz #20

Array Reference Aliasing

hardArrays

What does this code print?

📄 Code

1int[] a = { 1, 2, 3 };
2int[] b = a;
3b[0] = 99;
4Console.WriteLine(a[0]);