Misuse of the ‘var’ keyword in C#
I’ve noticed a worrying trend of late, when looking at code written by developers who are new to C#, or have never worked with the language prior to C# 3.0. I am referring to the misuse and overuse of the var keyword. The purpose of var, for those who don’t know, is to omit the… Continue reading