Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submit CH3 HW 12 #804

Open
wants to merge 1 commit into
base: Chapter3/Homework/12
Choose a base branch
from

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