Articles on C#
Last updated: 2022/04/25
Top deep-dives on C#
Interfaces and abstract classes used to have some very significant distinctions between them in C#. But the recent updates in C#8 have blurred the line. Jeremy Bytes straight-to-the-point article goes through the previous major differences between these two abstractions, and explains how the majority of the past restrictions on interfaces have been completely removed. Jeremy also provides personal implementation tips, like when to choose what abstraction.
"The yield keyword is used to build generators of element sequences". But why is this useful? Nikita Lipilin looks under-the-hood of yield in C#, examines various cases, and highlights when yield is convenient or when there’s no need for it.
Graphics are one of the most identifiable results of programming. Ain't nobody going to see a video game or simulation and not think of the code that went into it... right? Well in this extensive article, Shahriar Shahrabi, as the title implies, gives an intro to fluid simulation. Although basic at times, it really does dive into different factors that make it such a seemingly daunting task.
I hated working with Angular (web dev framework), because it split up all of the code relevant to a page or component into 4 different files. The mental fatigue from switching between files and keeping track of everything just to switch one thing was too much for me. Unsurprisingly, there are people who agree, and in this article, Derek Comartin shows with an ASP .NET example the advantages of using the titular approach.
Rick Strahl gives a brief overview of writing async code in C# and then demonstrates how to get around some nuanced issues in older .NET libraries like WinForms.
Jon Skeet takes us through diagnosing a crashing server running on ASP.NET.
Since you just had a refresher on DI concepts in the article above, what better way is there to transition into this article by Philipp Wagner that applies it to the EntityFramework Core in C#. In this extensive article, Philipp implements an app for the Data Access Layer, using DbContextScope to keep track of the who, what, where, and how.