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...
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 will explore a type-specific...
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...
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 time. There are quite a lot of...
Sorting in .NET
Sorting is a typical task each programmer should be aware of. That’s why this article is...
StringBuilder: the Past and the Future
In the previous article, I elaborated on peculiarities of string concatenation. In this article, I would like to consider the StringBuilder...
The origin of GetHashCode in .NET
This article is devoted to the GetHashCode method and the GetHashCode implementation in the .NET Framework. The article also...
Foreach or For – That is the Question
The discussion about the preference difference between FOREACH and FOR is not new. We all know that...