Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 503 Bytes

README.md

File metadata and controls

16 lines (8 loc) · 503 Bytes

C# Coding Guidelines

Use .editorconfig

See .editorconfig for C#.

Use .gitattributes

See .gitattributes for C#.

Only Override ToString for Debugging Purposes

As a general rule, only override the ToString method for debugging purposes, and consider adding the DebuggerDisplay attribute instead of overriding ToString.

Only when a class has an obvious culture-invariant string rendering should you consider using ToString for that purpose.