From 1387d1e798e28b35b8ed369bddb24252f8a12c10 Mon Sep 17 00:00:00 2001 From: rodolphito Date: Tue, 2 Apr 2019 00:31:39 -0700 Subject: [PATCH] Do not use abbreviations in 5. because of 6. The rule right after it says not to do it, yet it does it. Hypocritical, lol... --- C# Coding Standards and Naming Conventions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/C# Coding Standards and Naming Conventions.md b/C# Coding Standards and Naming Conventions.md index 11d88fb..95b69ee 100644 --- a/C# Coding Standards and Naming Conventions.md +++ b/C# Coding Standards and Naming Conventions.md @@ -74,9 +74,9 @@ public const string SHIPPINGTYPE = "DropShip"; #### 5. Use meaningful names for variables. The following example uses seattleCustomers for customers who are located in Seattle: ```csharp -var seattleCustomers = from cust in customers - where cust.City == "Seattle" - select cust.Name; +var seattleCustomers = from customer in customers + where customer.City == "Seattle" + select customer.Name; ``` ***Why: consistent with the Microsoft's .NET Framework and easy to read.***