Implementing equality can be tricky. If we follow a few simple rules we can avoid some of the common traps.


In this article you will learn Equality Implementation in C# programming.
This article describes a way to gather information before committing to a particular path.

Here’s a brief example of how to serialize and deserialize immutable objects to XML.

This article will help get you started consuming native code with C# by writing your own interop layer in C++/CLI as a much cleaner and more flexible alternative to using PInvoke.
The power of adding a functional extensibility point to our classes via the visitor pattern is often overlooked. Using a visitor pattern is a very effective means of providing a nice boundary around a set of core classes while at the same time allowing for functional change. This article will demonstrate how the visitor pattern can be used as an extensibility mechanism and provide a boundary to keep core domain classes from getting cluttered.

Learn how to use attributes and change-notification interfaces to declaratively bind MVC models and views, including property, collection, and two-way bindings.

This articles discusses a general implementation of the Supervising Controller MVP (Model View Presenter) pattern for a win-forms application and the use of a dialog broker to allow pulling additional logic into the controller class.

In this article I'll take a look at building a data abstraction layer in F# and consuming it with C#.
This article introduces a reusable generic event cache component that houses events with custom bubbling capabilities. This can be used as a component in your business objects to provide event declaration runtime with events that can bubble to other classes.
Build a C# fluent interface for parameter assertions using outside-in development, making validation code more concise, readable, and maintainable.
Build more expressive fluent interfaces in C# by combining method chaining, object modeling, unit tests, and outside-in API design.
In this article we’ll cover building a Fluent Interface in order to write readable code that closely models spoken/written language. In a previous article I discussed how we can be more efficient and write better code by developing from the outside-in. Now we’ll look at a new trick to make this approach even more effective, the Fluent Interface and Method Chaining.

Modeling an API for a domain is a difficult task. The trick is to get the correct level of encapsulation/abstraction while making the API easy to understand and consume. If we can model our domains at the same level that we understand them linguistically then we are 90% of the way there. This article discusses a programming methodology by which we can build a concise interface that will provide a consistent level of abstraction and is easy to code against.
Using the .NET framework we basically have two ways to provide abstraction for our code: Classes and Interfaces. This article will look at the use of each and cover some things to consider when choosing between them in different situations.
This article discusses how we can hide our base class implementation and require referencing of our objects through their interfaces. This keeps our own projects loosely coupled and also allows us to publish our assemblies as truly reusable components because they are 100% “Black box”.
There are many ways to approach object instantiation. In this article we'll cover a few of the patterns used to instantiate objects.

One of the things I find myself doing frequently is writing (and re-writing) plumbing code to execute database CRUD operations. I wrote an abstraction layer over asynchronous SqlServer calls that allows developers to correctly make async calls agains SqlServer without having to deal with any of the complex plumbing normally required. All source code is included with this article.
This article is an introduction to a simple pattern for building more testable classes.

In this article, we look at the power of the yield keyword in C#. Enumerable, Enumerator, and Yielding a Free State Machine

Binding in F# is similar to using variables in C# but there are some big differences. This article discusses one of the most used keywords in F# for binding (let) and how it is different than setting a C# variable. I also cover the tuple F# data structure.

I've noticed that in data driven UI projects there is often lots of repeated code wherever there is data binding. In this article we'll look at consolidating all the binding code in a helper class to make projects much easier to maintain by reducing the amount of code we have to dig through.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article