using System;
public class Program
{
public static void Main()
Console.WriteLine("Hello World");
// we create a simple array of int
var a1 = new int[]{1,2,3};
// copy the array a1 to a2
var a2 = a1;
// modify the first element of a1
a1[0]=2;
// output the first element of a2
Console.WriteLine("a1:"+a1[0]); // 2
Console.WriteLine("a2:"+ a2[0]); // 1
// gli array sono dei reference type
}