473,385 Members | 1,492 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.

Microsoft coding conventions?

Hi,
I'm looking for some coding conventions for c# written by microsoft. What
I'm looking for is. for example:

* How to name method variables, class variables
* How to name functions
* How to name classes

etc.

I've looked at microsoft.com but can't really find what I'm looking for.
Does anyone have a link?

Thanks!

Mats-Lennart
Nov 17 '05 #1
3 2075
Hello,

"Design Guidelines for Class Library Developers":
http://msdn.microsoft.com/library/de...guidelines.asp

greets

Mats-Lennart Hansson wrote:
Hi,
I'm looking for some coding conventions for c# written by microsoft. What
I'm looking for is. for example:

* How to name method variables, class variables
* How to name functions
* How to name classes

etc.

I've looked at microsoft.com but can't really find what I'm looking for.
Does anyone have a link?

Thanks!

Mats-Lennart


Nov 17 '05 #2
In addition to Bernhard's post you can also use
http://www.gotdotnet.com/team/fxcop/

"Mats-Lennart Hansson" <ap********@hotmail.com> wrote in message
news:eV**************@TK2MSFTNGP14.phx.gbl...
Hi,
I'm looking for some coding conventions for c# written by microsoft. What
I'm looking for is. for example:

* How to name method variables, class variables
* How to name functions
* How to name classes

etc.

I've looked at microsoft.com but can't really find what I'm looking for.
Does anyone have a link?

Thanks!

Mats-Lennart

Nov 17 '05 #3
Mats-Lennart Hansson wrote:
Hi,
I'm looking for some coding conventions for c# written by microsoft.
What I'm looking for is. for example:

* How to name method variables, class variables
* How to name functions
* How to name classes

etc.

I've looked at microsoft.com but can't really find what I'm looking
for. Does anyone have a link?


In addition to the design guidelines on MSDN have look at
http://blogs.msdn.com/brada/articles/361363.aspx

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 17 '05 #4

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

Similar topics

3
by: Roman Roelofsen | last post by:
Dear python-list, while looking for some coding conventions for python programs, i found the PEP8 at http://www.python.org/peps/pep-0008.html. It defines the rules very well and leaves no space...
1
by: jarit | last post by:
Hi, Found these coding guidelines for C#, HTML, Javascript, Java, HTML, PL/SQL, T-SQL, VB and VBScript. Well written and free to download. www.demachina.com/products/swat Jeroen
1
by: scsharma | last post by:
Hi, I am looking for microsoft standards for developing web applications using ..net 1.1 and C#. Specifically i am looking for: 1. UI standards 2. Naming Convention 3. Good coding practices....
9
by: Neil Zanella | last post by:
Hello, Some programmers like to use a coding convention where all names of variables that are pointers start with the letter p (and sometimes even use similar conventions for strings and other...
144
by: Natt Serrasalmus | last post by:
After years of operating without any coding standards whatsoever, the company that I recently started working for has decided that it might be a good idea to have some. I'm involved in this...
7
by: Ralph Lund | last post by:
Hi. I am starting a new project with C#. I am searching for "good" coding conventions. I know that there are some coding conventions from microsoft, (but they are very extensive and not clear)....
7
by: jarit | last post by:
Hi, Found these coding guidelines for C#, HTML, Javascript, Java, HTML, PL/SQL, T-SQL, VB and VBScript. Well written and free to download. www.demachina.com/products/swat Jeroen
4
by: Josh Golden | last post by:
i lead a small development team (based on some of my posts that might cause some people to choke themselves, but have no fear, i am NOT the lead developer, the people on my team are great - i'm...
8
by: clintonG | last post by:
Every single time neophytes or converts ask about naming and style conventions what are they told by the majority consensus? The answer is "do what you prefer but do so consistently" right? Yes,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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: 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...

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.