public static void Main()
string [] inventari = new String [4] {"Glasses","tie","BroomStrick","MagicWand"};
Console.WriteLine("Quina posició vols modificiar?");
posicio = int.Parse(Console.ReadLine());
Console.WriteLine("Qui es el nou element?");
inventari[posicio]= int.Parse(Console.ReadLine());
Console.WriteLine(String.Join(inventari)));