What is a widely accepted naming convention for .NET/C#/WPF projects?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Microsoft has an extensive MSDN article on naming conventions here.
回答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!
回答3:
You can see Philips Healthcare - C# Coding Standard for C#
It look very good.
And of course Design Guidelines for Developing Class Libraries
回答4:
Use the tools Microsoft FxCop and Microsoft StyleCop for validation.
回答5:
Instead of listing potentially flammable conventions, I will just tell you that I follow whatever conventions FXCop suggests, with a couple of exceptions.
回答6:
your best bet would be to
(a) look at a number of FOSS .net projects (b) read Framework Design Guidelines