Naming Conventions for .NET / C# / WPF Projects

31,909

Solution 1

Microsoft has an extensive MSDN article on naming conventions here.

Solution 2

Here are some useful links on this subject

.Net Naming Conventions and Programming Standards - Best Practices

Naming Conventions for .NET / C# Projects

Naming Conventions & Coding Standards for .NET

Goog Luck!

Solution 3

You can see Philips Healthcare - C# Coding Standard for C#

It look very good.

And of course Design Guidelines for Developing Class Libraries

Solution 4

Use the tools Microsoft FxCop and Microsoft StyleCop for validation.

Solution 5

Instead of listing potentially flammable conventions, I will just tell you that I follow whatever conventions FXCop suggests, with a couple of exceptions.

Share:
31,909
GregKo
Author by

GregKo

Updated on April 20, 2020

Comments

  • GregKo
    GregKo about 4 years

    What is a widely accepted naming convention for .NET/C#/WPF projects?

  • SiLent SoNG
    SiLent SoNG almost 14 years
    +1. This is the conventions suggested by Microsoft which is implemented in the .NET class library.
  • julealgon
    julealgon almost 10 years
    I'm sorry, but unless I forgot to read something, the article does not describe naming conventions for projects, only for assemblies and DLLs. EDIT: Ok, I just realized that the question itself is ambiguous, and could refer to either project files, or generally everything about a project, in which case your answer would be ok.