Skip to content

dennisdoomen/CSharpGuidelines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

356 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Guidelines for C# (up to v14)

See the landing page at https://www.csharpcodingguidelines.com

How to create the PDFs

From the root of the repo, run:

.\build.ps1        # Windows
./build.sh         # macOS / Linux

This compiles all guideline rules into two PDF files in the Artifacts folder:

  • CSharpCodingGuidelines.pdf — the full guidelines document
  • CSharpCodingGuidelinesCheatsheet.pdf — the two-page cheat sheet

Pandoc is downloaded automatically on first run. Google Chrome must be installed for PDF rendering.

How to preview the site locally

Run the following script from the root of the repo:

.\launch-website.ps1        # Windows
./build.sh LaunchWebsite    # macOS / Linux

This installs Ruby 3.3 (if not already present), runs bundle install, and starts the Jekyll development server at http://localhost:4000. The server monitors for changes when using the --incremental flag.

Prerequisites

Troubleshooting

About

A set of coding guidelines for C# 9.0, design principles and layout rules for improving the overall quality of your code development.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors