C# using var (using declaration)
Ever wished you’d declare something which gets disposed automatically when it’s enclosing scope finishes executing without adding yet another set of curly braces and indentation to your code? You are not alone. Say hello to C# 8 using declarations 🥰. With using var you can now do: instead of: No more unecesary curly brackets, no…