473,385 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Naming convention

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
3 1435
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

27
by: Derek | last post by:
The company where I work uses a naming convention that I have never used before. They use mixed-case letters for public member functions, but lower-case with underscores for the rest, like this:...
7
by: cmiddlebrook | last post by:
Hi there, I keep finding myself getting inconsistent with naming conventions for things like member variables, class names etc and I just want to find something that suits me and stick to it. I...
4
by: Mark Broadbent | last post by:
stupid question time again to most of you experts but this is something that continually bothers me. I am trying to get into the habit of naming variables and controls in an assembly as per...
14
by: 42 | last post by:
Hi, Stupid question: I keep bumping into the desire to create classes and properties with the same name and the current favored naming conventions aren't automatically differentiating them......
0
by: Carl Colijn | last post by:
Hi all, Disclaimer: before I might trigger your "let's start a holy war!" button, I'd like to say I'm not intended to; I just post this message to get some input and not to promote "Yet Another...
10
by: jjkboswell | last post by:
I'm trying to pin down a good naming convention for the 3 things required to implement an event. You need: 1) a delegate 2) an event 3) an event handler Below is my understanding of a...
11
by: MP | last post by:
Hi, Coming from a vb6 background I am accustomed to prefixing variable names to indicate their usage. Now just beginning to try to learn database stuff I've been lurking here and working on my...
6
by: dm1608 | last post by:
I'm relatively new to ASP.NET 2.0 and am struggling with trying to find the best naming convention for the BAL and DAL objects within my database. Does anyone have any recommendations or best...
114
by: Jonathan Wood | last post by:
I was just wondering what naming convention most of you use for class variables. Underscore, "m_" prefix, camel case, capitalized, etc? Has one style emerged as the most popular? Thanks for...
35
by: Smithers | last post by:
Is it common practise to begin the name of form classes with "frm" (e.g., frmOneForm, frmAnotherForm). Or is that generally considered an outdated convention? If not "frm" what is a common or...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.