int[] numeros = { 5, 42, 8, 11, 23, 1, 14, 30, 19, 27, 36, 2, 50, 7, 18, 9 };
Console.WriteLine("Combinação do cadeado de acordo com indice do array:");
int indice = Array.IndexOf(numeros, 19);
int indice2 = Array.IndexOf(numeros, 42);
int indice3 = Array.IndexOf(numeros, 7);
Console.WriteLine("Combinação: " + indice + " - " + indice2 + " - " + indice3);