Softeq / dotnet-guidelines

A set of coding guidelines for C#, design principles, and layout rules.
Other
13 stars 1 forks source link
code-style csharp dotnet guidelines

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

Table of contents