Introduction What is the easies way to cause the StackOverflowException? If you are familiar with recursion the answer is pretty straightforward – recursion. According to…
Introduction What is the easies way to cause the StackOverflowException? If you are familiar with recursion the answer is pretty straightforward – recursion. According to…
Introduction Computing large numbers isn’t usually our day-to-day issue. We use multiplication when it comes to finding out how much of a paint would be…
Introduction Allocating some kind of a buffer (e.g. array) on a heap is a quite straightforward behaviour. It happens anytime we do something like this:…
Introduction There are situations that an array is created over and over again. It is perfectly normal but it creates many temporary objects on the…
Introduction False sharing is another low level programming “feature” that can cause the performance degradation. Long story short, false sharing is a situation when many…
Introduction Branch misprediction, as title suggests, might slow down program execution time. If you have never heard about the topic I recommend to read the…
Introduction Closure itself isn’t a brand new topic. I’ve seen many blog articles that explain the topic (there’s even a Wikipedia page in a few…
Introduction Iterating through collections is part and parcel of programming. As a C# developer you’ve probably used for and foreach. Both helps to iterate through…
Introduction Adding elements to a list seems like a pretty common operation. The most intuitive solutions is to invoke some kind of “Add” method on…
Introduction Have you ever used LINQ? If you are a dotnet developer, then I’m sure you have as it is probably the most well know…