public static void Main()
int [] numeros = {7,52,58,26};
Console.WriteLine(JoinArray("_", numeros));
static string JoinArray(string separador, int [] numeros)
for(int i = 0; i <numeros.Length - 1; i++)
resposta = resposta + numeros [i] + separador;
resposta = resposta + numeros [ numeros.Length - 1];