Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 789 Bytes

RR0022.md

File metadata and controls

30 lines (20 loc) · 789 Bytes

Change type according to expression

Property Value
Id RR0022
Title Change type according to expression
Syntax variable declaration, foreach statement
Span type
Enabled by Default

Usage

Before

IEnumerable<object> items = new List<object>();

After

List<object> items = new List<object>();

See Also

(Generated with DotMarkdown)