Performance with IDisposable, outside the box

Hello and welcome, Today I wanted to share with you a technique I used in the past, though by all means not an impressive feat. But first a little story about IDisposable and why I chose this approach. The IDisposable interface is mainly used as a way for the Gargabe Collection to release unmanaged resources, … Continue reading Performance with IDisposable, outside the box

Dependency Inversion and Dependency Injection

Hello and welcome, Across the posts, there has been the mention about something called Dependency Inversion or Dependency Injection. In this post, we will take a deeper look at what that actually means and what how it helps us. Dependency Inversion When we talk about dependency inversion we talk about how we structure our projects … Continue reading Dependency Inversion and Dependency Injection

Enums, Flags and Binary Literals

Hello and welcome, Today we're going to look at the enum value types, how they can be composed as flags and how C# 7 makes it easier for us to use and understand. We touched upon enums during the post The hidden side-effect of enums and values. Now we're going to have a more in-depth … Continue reading Enums, Flags and Binary Literals