using System;
class ExException
{
public static void Main()
{
try
{
int [] tableauTest = new int [10];
tableauTest[10] = 123; // Exception
}
catch(IndexOutOfRangeException err)
{
Console.WriteLine("Erreur: "+err);
}
}
}