Why does ReSharper want to use ‘var’ for everything? [duplicate]

This question already has answers here: Difference between “var” and “object” in C# [duplicate] (6 answers) Closed 11 months ago. I’ve just started using ReSharper with Visual Studio (after the many recommendations on SO). To try it out I opened up a recent ASP.NET MVC project. One of the first and most frequent things I’ve … Read more

Use of var keyword in C#

Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. After discussion with colleagues regarding the use of the ‘var’ keyword in C# 3 I wondered what people’s opinions were on the appropriate uses of type inference via var? … Read more