Something that trips me up occasionally in C# is syntactic sugar with properties. Specifically, the difference between the fat arrow (
=>) and assignment (
=) with properties. Here’s a quick note to help clear up any confusion.
A Follow Up to C# Threading Mechanisms
A few days ago, I wrote about various kinds of C# threading mechanisms, along with some Do’s and Dont’s. That spun off an interesting discussion on Facebook, which I’d like to recap a bit here.
C# Thread Lock Mechanisms
There are a lot of different thread lock mechanisms that .Net provides. Some are better than others. Some you really shouldn’t use at all. This post will walk you through some of the most common scenarios and provide suggested mechanisms for dealing with them.