Implicit variable can be used

CodeRush Classic shows the Implicit variable can be used code issue if a variable is declared explicitly.

Note

The code issue is unavailable for variables of a simple or built-in type.

Fix

Declare the variable implicitly.

Purpose

The use of implicit variable declaration may improve readability.

Example

UserInfo user = new UserInfo();

Fix:

var user = new UserInfo();