Skip to content

A set of coding guidelines for C#, design principles, and layout rules.

License

Notifications You must be signed in to change notification settings

Softeq/dotnet-guidelines

Repository files navigation

C# Coding Guidelines

What is this?

This document attempts to provide guidelines (or coding standards if you like) for all versions of C# that are both valuable and pragmatic. The idea behind this document is make code style consistent across the projects and inside the projects as well and guarantee predictable code quality for Softeq customers. The Guidelines are based on Dennis Doomen guidelines.

Rule severity

Each rule in this document has its importance level:

Rule importance Description
1 Guidelines that you should never skip and should be applicable to all situations
2 Recommended guidelines

Code Analysis

Icon Description
Fully covered by Re-sharper
Partly covered by Re-sharper
If no image, rules aren't covered by Re-sharper

Guidelines rules naming convention

All rules must be named in the following format: Meaningful title of the rule (SDSC-1234) [1], where

  • SDCS is Softeq Development CSharp abbreviation.
  • 1234 is the rule index which includes group index (12) and the rule index (34).
  • [1] is the rule a rule severity.

Table of contents

About

A set of coding guidelines for C#, design principles, and layout rules.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •