473,385 Members | 1,727 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 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 1504
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: 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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.