Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyC#value vs reference typesSingle-choice MCQ

After this runs, what is the value of arr[0]?

int[] arr = { 1, 2, 3 }; int[] copy = arr; copy[0] = 42; Console.WriteLine(arr[0]);