Consider a standard initialization:
Person p = new Person();
Visual studio is suggesting changing this code to
var p = new Person();
Why would I do this? I would expect my program is more readable if the type is explicit.
Consider a standard initialization:
Person p = new Person();
Visual studio is suggesting changing this code to
var p = new Person();
Why would I do this? I would expect my program is more readable if the type is explicit.