Skip to content

Commit 1179922

Browse files
authored
Merge pull request #17 from AdguardTeam/feature/AG-16372
Update guideline
2 parents b32152e + ce8af98 commit 1179922

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

C#.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,10 @@ Try to limit line length. This limit can be arbitrary (e.g. 80 or 100 characters
257257

258258
Try to limit the length of method and code blocks by 50 lines so that they are not trying to do too much. Shorter methods are easier to test, and smaller sections of code are more quickly comprehended by developers.
259259

260+
**Never use Extension Methods**
261+
262+
All the additional logic that is necessary is implemented through utility classes
263+
260264
**Brackets and blocks**
261265

262266
Open braces should always be at the beginning of the line after the statement that begins the block.

0 commit comments

Comments
 (0)