CJCoding With Joseph
← Back to Question List
C# Code Walkthrough #13

Two Names for One Array

mediumArrays

📄 Code

Read carefully — what does this print?
1int[] a = { 1, 2, 3 };
2int[] b = a;
3b[0] = 99;
4Console.WriteLine(a[0]);

🎯 Your Answer