Skip to content

Commit

Permalink
{Fix} Corrected the example of AV1522 (#168)
Browse files Browse the repository at this point in the history
Changed because we are not supposed to use single-char identifiers.
  • Loading branch information
bkoelman authored and dennisdoomen committed May 23, 2018
1 parent 9d3563f commit c798273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _pages/1500_MaintainabilityGuidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ Don't use confusing constructs like the one below:
if ((items[0] is string text) || (items[1] is Action action))
{
}
(int a, int b) = M();

(string name, string value) = SplitNameValuePair(text);

### <a name="av1523"></a> Favor object and collection initializers over separate statements (AV1523) ![](/assets/images/2.png)
Instead of:
Expand Down

0 comments on commit c798273

Please sign in to comment.