Merge pull request #18 from rodolphito/patch-1

Do not use abbreviations in 5. because of 6.
This commit is contained in:
Konstantin
2019-04-02 11:53:02 +03:00
committed by GitHub
@@ -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: #### 5. Use meaningful names for variables. The following example uses seattleCustomers for customers who are located in Seattle:
```csharp ```csharp
var seattleCustomers = from cust in customers var seattleCustomers = from customer in customers
where cust.City == "Seattle" where customer.City == "Seattle"
select cust.Name; select customer.Name;
``` ```
***Why: consistent with the Microsoft's .NET Framework and easy to read.*** ***Why: consistent with the Microsoft's .NET Framework and easy to read.***