From c7982733b2536fa108d2cc24a4253d3592254336 Mon Sep 17 00:00:00 2001 From: Bart Koelman Date: Wed, 23 May 2018 14:01:41 +0200 Subject: [PATCH] {Fix} Corrected the example of AV1522 (#168) Changed because we are not supposed to use single-char identifiers. --- _pages/1500_MaintainabilityGuidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_pages/1500_MaintainabilityGuidelines.md b/_pages/1500_MaintainabilityGuidelines.md index f8ef481..98ce1c1 100644 --- a/_pages/1500_MaintainabilityGuidelines.md +++ b/_pages/1500_MaintainabilityGuidelines.md @@ -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); ### Favor object and collection initializers over separate statements (AV1523) ![](/assets/images/2.png) Instead of: