Skip to content

Commit c798273

Browse files
bkoelmandennisdoomen
authored andcommitted
{Fix} Corrected the example of AV1522 (#168)
Changed because we are not supposed to use single-char identifiers.
1 parent 9d3563f commit c798273

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_pages/1500_MaintainabilityGuidelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ Don't use confusing constructs like the one below:
117117
if ((items[0] is string text) || (items[1] is Action action))
118118
{
119119
}
120-
121-
(int a, int b) = M();
120+
121+
(string name, string value) = SplitNameValuePair(text);
122122

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

0 commit comments

Comments
 (0)