I would like to print the number of words in a sentence declared within a string .
Example:
string frase = "Meu carro vermelho é caro"
cont = 0;
aux = -1;
while(frase.lenght() < frase =="") {
aux++;
if(cont < aux){
cont++;
}
Console.writeln(cont);
}