473,398 Members | 2,403 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,398 software developers and data experts.

Naming Conventions

mac
Brand new to C# and I like it so far. I don't want to start a flame war
over naming conventions.

I do want to find a comprehensive convention, learn it, and start using it
right from the start. Does anyone have any suggestions for where I could
find a *concise* document that spells out a convention.

I want:

1. A widely used convention.
2. One that covers all the different variables and objects I wll have to
name
3. A spec that avoids lots of justification, and just gives the facts.

Coming from a database background, I generally don't like CamelCasing, but
it that is what the bulk of the coders are doing, I'll do it too.

Thanks,

Mac
Jun 21 '06 #1
2 1505
see here: Designing .NET Class Libraries: Naming Conventions
http://msdn.microsoft.com/netframewo...ngconventions/

MS Created very good documents about this
I hope this helps
Galin Iliev[MCSD.NET]
www.galcho.com

mac wrote:
Brand new to C# and I like it so far. I don't want to start a flame war
over naming conventions.

I do want to find a comprehensive convention, learn it, and start using it
right from the start. Does anyone have any suggestions for where I could
find a *concise* document that spells out a convention.

I want:

1. A widely used convention.
2. One that covers all the different variables and objects I wll have to
name
3. A spec that avoids lots of justification, and just gives the facts.

Coming from a database background, I generally don't like CamelCasing, but
it that is what the bulk of the coders are doing, I'll do it too.

Thanks,

Mac


Jun 21 '06 #2
mac
Galcho,

Thanks for the tip, this is what I wanted.

Thanks,

Mac

"mac" <ma*@mac.com> wrote in message news:tA4mg.547$Nv.468@fed1read10...
Brand new to C# and I like it so far. I don't want to start a flame war
over naming conventions.

I do want to find a comprehensive convention, learn it, and start using it
right from the start. Does anyone have any suggestions for where I could
find a *concise* document that spells out a convention.

I want:

1. A widely used convention.
2. One that covers all the different variables and objects I wll have to
name
3. A spec that avoids lots of justification, and just gives the facts.

Coming from a database background, I generally don't like CamelCasing, but
it that is what the bulk of the coders are doing, I'll do it too.

Thanks,

Mac

Jun 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Cristof Falk | last post by:
I wanted to get a feel. The documentation gives naming conventions for public/protected members. Is this truly widely adopted? And what about using the same conventions for private members and...
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...
1
by: clintonG | last post by:
Does the use of DTD, XML Schema and similar constructs adopt the use of C# naming conventions? If so how do I make the distinction of how to apply C# conventions with XML elements, attributes and...
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...
3
by: clintonG | last post by:
Does the use of DTD, XML Schema and similar constructs adopt the use of C# naming conventions? If so how do I make the distinction of how to apply C# conventions with XML elements, attributes and...
5
by: rastaman | last post by:
Hi all, I know of the existence of Object Naming Conventions for Visual Basic 6. Now I'm reading some books about VB .NET, but the names used for the objects are button1, picturebox1, etc. I...
4
by: Patrick | last post by:
what are the general naming conventions for vb.net controls. esp txtUserName, lblPassword, btnSubmit What are the prefixes for the controls???? I've tried to search hi and low on the net, but...
9
by: kevininstructor | last post by:
Greetings, I am in the process of creating naming conventions for VB.NET controls i.e. CheckBox -> chkShowThisOnStartup ListBoxt -> lstSomeList What I am looking for other developers...
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...
1
by: Philipp Post | last post by:
Marcello, Not a big surprise as naming conventions have a lot to do with personal prefernces. There are a lot of threads in comp.databases and the other database groups. Just do a search for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.