I need to know if the first character of a string
is uppercase and does not let the program follow.
How to do it?
Console.Write("Digite o nome do " + i + "º rei: " );
kings[i] = Console.ReadLine();
while ((kings[i].Length < 1 || kings[i].Length > 20 ) )
{
Console.WriteLine("O nome está inválido");
Console.Write("Digite novamente");
kings[i] = Console.ReadLine();
}