Skip to content

Conversation

TMason11095
Copy link

Tests/AddressTests:
Address1_EqualityOperator_On_Address2_When_Both_Have_Same_Values_Returns_True and Address1_EqualityOperator_On_Address2_When_Both_Have_Different_Values_Returns_False are comparing "address2 == address2". Changed to "address1 == address2" to match methods' naming.

-Updated Addresses.txt's "Copy to Output Directory" property to be "Copy if newer" as the file wasn't showing up during debugging.
-Implemented Address.TryParse().
-Implemented Address's == and != overloads.
-Implemented Address's Equals() and GetHashCode() to utilize the new == overload within LINQ.
-Updated Main() to read the given text file, find postal codes with the most duplicate address entries, and then display the results to the console.

Tests/AddressTests:
Address1_EqualityOperator_On_Address2_When_Both_Have_Same_Values_Returns_True and Address1_EqualityOperator_On_Address2_When_Both_Have_Different_Values_Returns_False are comparing "address2 == address2". Changed to "address1 == address2" to match methods' naming.
--------------------
-Updated Addresses.txt's "Copy to Output Directory" property to be "Copy if newer" as the file wasn't showing up during debugging.
-Implemented Address.TryParse().
-Implemented Address's == and != overloads.
-Implemented Address's Equals() and GetHashCode() to utilize the new == overload within LINQ.
-Updated Main() to read the given text file, find postal codes with the most duplicate address entries, and then display the results to the console.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant