By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,191 Members | 1,256 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,191 IT Pros & Developers. It's quick & easy.

Naming convention

P: n/a
Hello group!

If a company is called for examle ABC, what would be the best practice
for naming a namespace. Which one of the following is preferred
according to Microsoft guidelines:

ABC.Controls

or

Abc.Controls

Thanks in advance,
Patrick
Nov 22 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
If you use hungarian notation and ABC is a short for i.e. AutoBikeControl I
should have used ABC.Controls but if the name of the company is ABC I think
Abc.Controls is the better.

/Henke

"Patrick Kristiansen" <pa*****@sixulon.dk> skrev i meddelandet
news:45*************************@posting.google.co m...
Hello group!

If a company is called for examle ABC, what would be the best practice
for naming a namespace. Which one of the following is preferred
according to Microsoft guidelines:

ABC.Controls

or

Abc.Controls

Thanks in advance,
Patrick

Nov 22 '05 #2

P: n/a
Patrick Kristiansen wrote:
If a company is called for examle ABC, what would be the best practice
for naming a namespace. Which one of the following is preferred
according to Microsoft guidelines:

ABC.Controls

or

Abc.Controls


I believe I read a Microsoft arctile about this telling that 2 letter
abreviations should be all capitals (like System.IO) and with 3 or more only
the first. (like System.Xml)

Unfortunaly I haven't got the url to the article at the moment.
Nov 22 '05 #3

P: n/a
Exact.

The capitalization rules are in
http://msdn.microsoft.com/library/de...tionstyles.asp

And the complete set of conventions in:
http://msdn.microsoft.com/library/de...Guidelines.asp

There's also a tool that analyzes your assemblies and checks these rules (a
lot more than just naming, actually):
http://www.gotdotnet.com/team/fxcop/

Bruno.
"Jeroen Smits" <jeroen AT bc-br DOT com> a écrit dans le message de
news:eX**************@TK2MSFTNGP10.phx.gbl...
Patrick Kristiansen wrote:
If a company is called for examle ABC, what would be the best practice
for naming a namespace. Which one of the following is preferred
according to Microsoft guidelines:

ABC.Controls

or

Abc.Controls
I believe I read a Microsoft arctile about this telling that 2 letter
abreviations should be all capitals (like System.IO) and with 3 or more

only the first. (like System.Xml)

Unfortunaly I haven't got the url to the article at the moment.

Nov 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.