logo CodeStepByStep logo

ConvertToAltCaps

Language/Type: C# string return
Related Links:

Write a method named ConvertToAltCaps that accepts a string as a parameter and returns a version of the string where alternating letters are uppercase and lowercase, starting with the first letter in lowercase. For example, the call of ConvertToAltCaps("Pikachu") should return "pIkAcHu".

Method: Write a C# method as described, not a complete program or class.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.