473,837 Members | 1,783 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 1444
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
12044
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
1636
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
2282
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
1750
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
1501
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
2032
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
7893
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
1636
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
2819
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
9843
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
9682
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10875
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10566
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...
0
10272
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...
0
9401
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5848
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4474
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
4040
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.