Write And Use IEqualityComparer in C#
![Write And Use IEqualityComparer in C#](https://res.cloudinary.com/abuhakmeh/image/fetch/c_limit,f_auto,q_auto,w_500/https://khalidabuhakmeh.com/assets/images/posts/misc/iequalitycomparer.jpg)
Equality might seem straightforward, but it tends to get fuzzier the longer you think about it. When it comes to programming, there are two general thoughts around equality.
A collection of 231 posts
Equality might seem straightforward, but it tends to get fuzzier the longer you think about it. When it comes to programming, there are two general thoughts around equality.
Object Relational Mappers (ORMs) are great tools for abstracting our database choice away and allowing us to get things done. As time goes on and our applications evolve, we realize the underlying database can get things done faster and more...
Interaction with files is a necessary skill with any programming language. Luckily, with the .NET Framework, we have many reading options provided to us through the System.IO namespace. There are almost too many options, and for .NET coding newbies, it...
In a previous post, I wrote about using GitHub Actions to automate the promotion of my blog posts. While the GitHub Action works, the approach lacks any sense of state and tracking. The tweets that promote my posts are random,...
There are the folks who write YAML, and then there are the folks required to parse it. Let me assure you that the former is more natural than the latter. YAML, which stands for YAML Ain’t Markup Language, is a...
In the early days of .NET, Microsoft held most of the power and influence around the technology. In 2000, software development looked different, with corporate vendors providing narrow solutions to businesses. As the ecosystem has evolved, we have collectively moved...
I have a confession to make. Although I have a degree in Computer Science, I don’t ever recall implementing John Conway’s Game of Life. The program is less of a game and more about implementing an algorithm with observable results....
In a previous post, we explored Entity Framework Core (EF Core) performance enhancements. To make that point in that post, we needed a significant data set to make the point. Creating an example project can be tedious, and a distraction...
Object Relational Mappers (ORMs) can help increase our productivity. The ORM pattern can handle the integration between our C# models and the database by providing an abstraction that limits our need to understand the underlying data-access mechanisms (not an excuse...
Being part of a community means being inspired by other folks’ work to learn, get better, and add our value back in. When I read Jeremy Miller’s Oakton post about running development-time commands, I was inspired to contribute. Being hosted...