Code Convention C#


All replies

  • Hi Orent,

    We use a combination of the following:

    1. Framework Design Guidelines book by B.Abrams and K. Cwalina
      Link here
    2. A free ebook from SubMain
      Link here
    3. And some "stuff" from IDesign
      Link here


    Wednesday, May 23, 2007 7:23 PM
  • +1 for the Guidelines book and the IDesign stuff. I haven't read the ebook.


    You should also consider using the FxCop code analyzer. It enforces naming and coding conventions, among other rules. It's a great tool for finding the inevitable bloopers.

    Friday, June 01, 2007 7:42 PM
  • "Framework Design Guidelines" by Krysztof Cwalina, and Brad Abrams is an interesting read, it's about how the .NET framework was written basically, so may give you some ideas one way or the other.


    It is concerned with naming conventions, and organisation to make things readable, and useable to a developer, so I think that that is important, probably moreso than whether you use camel case for your private variables, and so on.  Its ISBN is 0-321-24675-6 if that is of help to you.


    I hope that helps you,



    Monday, July 30, 2007 10:59 PM