473,397 Members | 1,961 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,397 software developers and data experts.

.NET Naming Guidelines. Please, need advice.

Hello,

Where can I find some information on .NET naming conventions?

For example, controls prefixes, properties, etc?

And is it normal to name variables with prefixes?

Dim sName As String

If not why is so used something like:

Dim dsNames As Dataset

Or

Dim drName As Datarow

Thanks,

Miguel

Sep 28 '07 #1
2 1299

Design Guidelines for Class Library Developers
http://msdn2.microsoft.com/en-us/lib...ke(vs.71).aspx

HTH,

Sam

------------------------------------------------------------
We're hiring! B-Line Medical is seeking .NET
Developers for exciting positions in medical product
development in MD/DC. Work with a variety of technologies
in a relaxed team environment. See ads on Dice.com.

On Fri, 28 Sep 2007 06:24:30 -0700, shapper <md*****@gmail.comwrote:
>Hello,

Where can I find some information on .NET naming conventions?

For example, controls prefixes, properties, etc?

And is it normal to name variables with prefixes?

Dim sName As String

If not why is so used something like:

Dim dsNames As Dataset

Or

Dim drName As Datarow

Thanks,

Miguel
Sep 28 '07 #2
Miguel-

The "Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable
..Net Libraries" by Krzysztof Cwalina and Brad Abrams is pretty comprehensive
regarding distributed libraries and conventions. Brad also posted up the
internal coding guideines on his blog at http://blogs.msdn.com/brada/articles/361363.aspx.
It includes sections (2.6 and 2.7) on naming conventions.

Beyond that, conventions are simply that and vary by designer and design
shop.

HTH.

-dl

--
David R. Longnecker
http://blog.tiredstudent.com
Hello,

Where can I find some information on .NET naming conventions?

For example, controls prefixes, properties, etc?

And is it normal to name variables with prefixes?

Dim sName As String

If not why is so used something like:

Dim dsNames As Dataset

Or

Dim drName As Datarow

Thanks,

Miguel


Sep 28 '07 #3

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

Similar topics

2
by: Dibyendu Basu | last post by:
Hi, We are developing a ASP.NET based application with SQL Server 2000 as backend. Can you please tell us some resources/URL in Internet/MSDN which talks about naming standards and conventions...
3
by: boxboy | last post by:
I am hoping someone from Microsoft could shed some insight into this question. Why did microsoft decide to use a verb based naming convtion for events rather such as Close and Click for rather...
5
by: Ted | last post by:
I'm trying to come up with naming conventions for my company as we move to C#. I'm looking through the Naming Guidelines section on MSDN, but I'm unable to find a recommendation for class scope...
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...
3
by: John Salerno | last post by:
Does Microsoft have any naming guidelines for variables? I've been reading their guidelines for just about every other type (methods, parameters, properties, etc.) but nothing about variables. Are...
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...
8
by: mrashidsaleem | last post by:
Can anyone guide me what is wrong with the naming conventions suggested below? I know that this is not recommended by many (including Microsoft) but I need to know what exactly is the rationale...
17
by: Miguel Guedes | last post by:
Hello, Does anyone have a link to the C++ Standard Library naming conventions that they could share? I have found a few links to pages on C++ naming conventions but am unsure as to what standard...
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
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...
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.