Naming Conventions for .NET Namespaces

Problem
You want to know how to name your namespaces when your types resemble those found in the .NET Framework.

Solution
Use the .NET namespace name, but use your company’s name as the first-level namespace.

Comments
For example, if you’ve defined types for your own Windows Forms controls, place them in a namespace called CompanyName.Windows.Forms.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s