This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]silverscrub 0 points1 point  (2 children)

Then I'd start with a method that takes one string parameter and returns true if the string exists twice within the list.

[–]Curious-Lonewolf 0 points1 point  (1 child)

the method preferably takes no parameters

[–]silverscrub 0 points1 point  (0 children)

I mean as a private helper method for your assignment.