Using for loops, it not as efficient and readable as the other methods pointed out, but for starters it should work and provide a comprehensive way of doing this:
int counter = 0;
for(int i=0; i< myString.Length; i++)
{
// If the character is uppercase, add +1 to the counter
if(char.IsUpper(chaineNonPascale[i]))
{
counter++;
}
}
Basically, you iterate over your string and check for uppercase characters. Then you can add logic as to what to do with the place where there is an uppercase character. For example, insert a space where the second upper case character is found and then use the ToLower method on the whole string...