Skip to content

A set of coding guidelines for C# for improving the overall quality of your code development.

Notifications You must be signed in to change notification settings

pihlakad/CSharpGuidelines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

CSharp Guidelines

1. Naming Guidelines

Don't repeat the name of a class or enumeration in its members

class Food {
	// Wrong!
	static GetFood() {}
	DeleteFood() {}
	
	// Right
	static Get() {...}
	Delete() {...}
}

2. Documentation Guidelines

Write comments and documentation in English

Avoid inline comments

If you feel the need to explain a block of code using a comment, consider replacing that block with a method with a clear name.

About

A set of coding guidelines for C# for improving the overall quality of your code development.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published