From 742477dcad7dbf35d4c11febfd5c319129a23be4 Mon Sep 17 00:00:00 2001 From: bkoelman Date: Wed, 23 May 2018 13:31:43 +0200 Subject: [PATCH] {Fix} Corrected the example of AV1522 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: