logo CodeStepByStep logo

RemoveEvenLength

Language/Type: C# List Collections
Related Links:

Write a method named RemoveEvenLength that accepts a List of strings as a parameter and that removes all of the strings of even length from the list. For example, if a List variable named list contains the values ["hi", "there", "how", "is", "it", "going", "good", "sirs"], the call of RemoveEvenLength(list); would change it to store ["there", "how", "going"].

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.