fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. int[] source = {1, 2, 3};
  8. int[] copy = source;
  9. copy[0] = 9;
  10. Console.WriteLine(string.Join(",", source));
  11. }
  12. }
Success #stdin #stdout 0.01s 131200KB
stdin
Standard input is empty
stdout
9,2,3