-
Notifications
You must be signed in to change notification settings - Fork 0
C# Style Guide
Kirill Taran edited this page Apr 3, 2024
·
1 revision
By default we follow Common C# code conventions. This document overrides the convention.
1.1 DO use one file per class regardless its size. The only exception is a nested class.
1.2 DO use file-scoped layouts
1.3 DO place private variables at the bottom of the class.
1.4 DO use two blank lines between methods. DO use one blank line to divide logical parts within a method.
5.1 DO start to-do comments with "// TODO: " and end it with a dot. The content of the comment must answer the questions on what, when and if possible how this to-do will be done.