[DotNet]How to name namespaces in c#

Namespaces are used to organize types into a logical and easy to explore hierarchy and avoid confliction for different types.

General rule for naming namespace is

<Company>.(<Product>|<Technology>)[.<Feature>][.<Subnamespace>]

for example:

Microsoft.VisualStudio.Design

Do use a stable names chains. do not use team hierarchies.
Do use a scope name, do not use a type name.

blog comments powered by Disqus