473,791 Members | 3,277 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Convention in Csharp

HI there,

Is there is any resources on the Conventions for Csharp?
I tried to do a search but did not find any.

I would prefer to use a convention that is consistant
thus making my codes easier to read and understand. =)

Any resources on this?

thansk
Nov 15 '05 #1
3 1443
For naming conventions, go here:
http://msdn.microsoft.com/library/de...guidelines.asp

For higher-level architecture "convention s" (n-tier, patterns, etc) - sorry
about line-wrap

http://msdn.microsoft.com/library/de...asp?frame=true

--
Mike Mayer
http://www.mag37.com/csharp/
mi**@mag37.com
"SuperFrog" <me@azellow.com > wrote in message
news:07******** *************** *****@phx.gbl.. .
HI there,

Is there is any resources on the Conventions for Csharp?
I tried to do a search but did not find any.

I would prefer to use a convention that is consistant
thus making my codes easier to read and understand. =)

Any resources on this?

thansk

Nov 15 '05 #2
thank you.

This was exactly what i was looking for.

thank you once again =)
-----Original Message-----
For naming conventions, go here:
http://msdn.microsoft.com/library/default.asp? url=/library/en-us/cpgenref/html/cpconnamingguid elines.asp
For higher-level architecture "convention s" (n-tier, patterns, etc) - sorryabout line-wrap

http://msdn.microsoft.com/library/default.asp? url=/library/en-us/dnbda/html/bdadotnetarchto pics.asp?
frame=true
--
Mike Mayer
http://www.mag37.com/csharp/
mi**@mag37.c om
"SuperFrog" <me@azellow.com > wrote in message
news:07******* *************** ******@phx.gbl. ..
HI there,

Is there is any resources on the Conventions for Csharp? I tried to do a search but did not find any.

I would prefer to use a convention that is consistant
thus making my codes easier to read and understand. =)

Any resources on this?

thansk

.

Nov 15 '05 #3
anytime ;-)
-mike
"SuperFrog" <me@azellow.com > wrote in message
news:09******** *************** *****@phx.gbl.. .
thank you.

This was exactly what i was looking for.

thank you once again =)
-----Original Message-----
For naming conventions, go here:
http://msdn.microsoft.com/library/default.asp?

url=/library/en-us/cpgenref/html/cpconnamingguid elines.asp

For higher-level architecture "convention s" (n-tier,

patterns, etc) - sorry
about line-wrap

http://msdn.microsoft.com/library/default.asp?

url=/library/en-us/dnbda/html/bdadotnetarchto pics.asp?
frame=true

--
Mike Mayer
http://www.mag37.com/csharp/
mi**@mag37.c om
"SuperFrog" <me@azellow.com > wrote in message
news:07******* *************** ******@phx.gbl. ..
HI there,

Is there is any resources on the Conventions for Csharp? I tried to do a search but did not find any.

I would prefer to use a convention that is consistant
thus making my codes easier to read and understand. =)

Any resources on this?

thansk

.

Nov 15 '05 #4

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

Similar topics

22
12041
by: Generic Usenet Account | last post by:
A lot has been said in this newsgroup regarding the "evil" set/get accessor methods. Arthur Riel, (of Vanguard Training), in his class, "Heuristis for O-O Analysis & Design", says that there is almost never an excuse for accessor methods. Personally, I do not go that far. I do feel that they serve a useful purpose (albeit in a limited manner). Personally I prefer dropping the "set" and "get" prefixes from the method names altogether. ...
41
1631
by: GC | last post by:
Within a class, do you use the private keyword for your internal member variables or do you leave it off like you would for variables within a function?
19
2279
by: John Salerno | last post by:
I just realized that the C# convention for uses braces is to put the opening brace immediately after the first line that defines the block (except for class declarations) like this: if (something) { stuff } Why is that? Do a lot of people do this? It seems like putting braces on separate lines is much nicer and easier to read. In the book I'm
0
1747
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 Naming Convention". It's a bit of a long post, but I've spent the past few days on perfecting this, finally came to the conclusion that maybe I went a bit overboard with it, almost willing to just say "the @#$ with it" but I didn't want to let it...
4
1498
by: **Developer** | last post by:
I looked at MSDN and a book and both described the naming convention for parameters should be camel style. The book used camel, except for Set (ByVal Value as ...) There it always used an uppercase V What is the correct convention for Set?
12
2031
by: Belebele | last post by:
Suppose that a class A depends on class B because an object of class B is passed into A's constructor. See below: class B { ... }; class A { public: A(B const& b); ... };
114
7887
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 any comments. --
3
1635
by: webrod | last post by:
Hi all, I am writing some winform and asp.net applications. is there a standard GUI convention provided by Microsoft (or maybe someone else) to design application? (to design a windows-like application). For example: - the menu bar should be on the top - The first item in the menu should be "File", the last one should be
4
2816
by: Deckarep | last post by:
Hello fellow C# programmers, This question is more about general practice and convention so here goes: I got into a discussion with a co-worker who insisted that as a general practice all objects should be passed by reference using the ref keyword generally speaking because as the writer of code you are conveying your intentions that an Object should/can be modified by your function.
0
9669
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10207
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10156
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9997
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5435
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4110
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.