Comparing Objects by Value. Part 6: Structure Equality Implementation
We have already analyzed peculiarities of structs of the .NET framework that represent Value Types...
Comparing Objects by Value. Part 5: Structure Equality Issue
In my previous publication, I described the fullest and the most correct way to compare objects by value – class instances that represent...
Comparing Objects by Value. Part 4: Inheritance & Comparison Operators
In the previous article, we analyzed how to compare objects by value on a particular example with the Person class that includes:...
Comparing Objects by Value. Part 3: Type-specific Equals and Equality Operators
In Part 1 and Part 2, we have analyzed how to modify a class to compare objects by value. Now, we...
Comparing Objects by Value. Part 2. Implementation Notes of the Equals Method
In the previous article, we have reviewed a general concept of implementing a minimum set of required modifications that include overriding...
Comparing Objects by Value. Part 1. Beginning
It is a common fact that the .NET object model, as well as other software program platforms, allow comparing objects by reference and by...
Composition and Interfaces in OOP World
In the object-oriented programming world, the concept of inheritance has been criticized for a long...