Code Inspection: Use preferred 'var' style (when type is simple)
implicitly typed local variables
(also known as
introduced in C# 3.0 has become quite popular due to improved readability of the resulting code.
By default, ReSharper also encourages using of
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