Code Inspection: Use preferred 'var' style (elsewhere)
Using
implicitly typed local variables
(also known as
var
keyword)
introduced in C# 3.0 has become quite popular due to improved readability of the resulting code.
By default, ReSharper also encourages using of
var
keyword, but the preferences of its usage are flexibly configurable.
For example, you can opt for using explicit types in specific cases or everywhere.
For more information about configuring and enforcing your preferences of using
var
, see
Implicit/Explicit Typing.
See Also
Last modified: 19 August 2016