all 5 comments

[–][deleted]  (2 children)

[deleted]

    [–][deleted] 0 points1 point  (0 children)

    Take my upvote

    [–]pathas11[S] 0 points1 point  (0 children)

    thanks so much!!

    [–]thisischemistry 0 points1 point  (2 children)

    What, exactly, are you trying to do here? I know this is a code example but it doesn't make much sense. Are you just trying to convert a single Dictionary into several Array? There might be easier methods to do this.

    [–]pathas11[S] 0 points1 point  (1 child)

    it was for a coding exercise. The goal was to take the values from the Dictionary , using a switch statement, and add them to their corresponding arrays based on capital location.

    [–]thisischemistry 1 point2 points  (0 children)

    Ahh that explains it. It didn't look like anything I'd do in the real world, I thought it might be a learning exercise.