exercism/csharp

International Calling Connoisseur - Many passing solutions logically incorrect

Closed this issue · 4 comments

While looking at existing solutions for this problem I noticed a lot of them use existingDictionary.Values.Max() to find the longest country name. This only work by coincidence as the longest country name also happens to be last of the entries alphabetically.
Perhaps different values should be chosen to populate existingDictionary or the tests updates to catch this.

That is a great suggestion! Would you be willing to submit a PR to fix this?

Sure, I'll give it a go

It's my first submission so please let me know if I need to update anything.

Everything was good! I've just merged the PR. Thanks.