Permalink
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (21 sloc) 798 Bytes

RCS1176: Use 'var' instead of explicit type (when the type is not obvious)

Property Value
Id RCS1176
Category Simplification
Default Severity Hidden
Enabled by Default -
Supports Fade-Out -
Supports Fade-Out Analyzer -

Example

Code with Diagnostic

string s = GetValue(); // RCS1176

Code with Fix

var s = GetValue();

See Also

(Generated with DotMarkdown)