What to use: var or object name type? [duplicate]
Beyond the obvious use of var with LINQ, I also use it to abbreviate hairy variable declarations for readability, e.g.: var d = new Dictionary<string, Dictionary<string, Queue<SomeClass>>>(); In general, I get a kind of comfort (for want of a better word) from static typing that makes me reluctant to give it up. I like the … Read more