From f7c562c383ac5dfae12354799004db79a4460ae5 Mon Sep 17 00:00:00 2001 From: Stone-Red-Code <56473591+Stone-Red-Code@users.noreply.github.com> Date: Fri, 9 Jul 2021 11:39:10 +0200 Subject: [PATCH] Fixed naming conventions examples --- src/content/resources/language/c-sharp/coding-conventions.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/content/resources/language/c-sharp/coding-conventions.md b/src/content/resources/language/c-sharp/coding-conventions.md index b686486..eb06e79 100644 --- a/src/content/resources/language/c-sharp/coding-conventions.md +++ b/src/content/resources/language/c-sharp/coding-conventions.md @@ -71,6 +71,7 @@ Do not use Hungarian notation or any other type identification in identifiers. //Do: int age; string name; + //Don't: int iAge; string strName; @@ -82,7 +83,8 @@ Use meaningful names for variables. //Do: string factoryName; int age; -//Don't + +//Don't: string str; int i; ```