logo CodeStepByStep logo


Language/Type: C# List collections
Related Links:

Write a method named Mirror that accepts a List of strings as a parameter and produces a mirrored copy of the list as output, with the original values followed by those same values in the opposite order. For example, if a List variable named list contains the values {"a", "b", "c"}, after a call of Mirror(list); it should contain {"a", "b", "c", "c", "b", "a"}.

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.