Skip to content

Commit 9611641

Browse files
bkoelmandennisdoomen
authored andcommitted
Added using static and aliases (#126)
1 parent 0ea9355 commit 9611641

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Src/Guidelines/2400_LayoutGuidelines.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ NOTE: Requires Markdown Extra. See http://michelf.ca/projects/php-markdown/extra
6262

6363
// Microsoft namespaces are first
6464
using System;
65-
using System.Collections;
65+
using System.Collections.Generic;
6666
using System.XML;
6767

6868
// Then any other namespaces in alphabetic order
@@ -71,7 +71,8 @@ NOTE: Requires Markdown Extra. See http://michelf.ca/projects/php-markdown/extra
7171
using Telerik.WebControls;
7272
using Telerik.Ajax;
7373

74-
Always place using directives at the top of the file, before any namespace declarations (not inside them).
74+
Using static directives and using alias directives should be written below regular using directives.
75+
Always place these directives at the top of the file, before any namespace declarations (not inside them).
7576

7677
### <a name="av2406"></a> Place members in a well-defined order (AV2406) ![](images/1.png)
7778
Maintaining a common order allows other team members to find their way in your code more easily. In general, a source file should be readable from top to bottom, as if reading a book, to prevent readers from having to browse up and down through the code file.

0 commit comments

Comments
 (0)