Définir les éléments sur 42

for (int i = myArray.Length - 1; i >= 0; i--)
{
    // Do something
    myArray[i] = 42;
}
Xanthous Xenomorph