Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Which coding convention do you use?

Which coding convention do you use?

Scheduled Pinned Locked Moved C#
question
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cebyrjoe2
    wrote on last edited by
    #1

    Hi to all! I would like to ask you which coding convention do you use? Regards,

    C G 2 Replies Last reply
    0
    • C cebyrjoe2

      Hi to all! I would like to ask you which coding convention do you use? Regards,

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      That's a very broad question, how do you mean ? I use braces like this try { } not try{ } I use _ and camel case for private variables, and I capitalise the first letter of public and protected methods/variables. I make sure all variables are private I don't use Hungarian notation What else were you hoping for ?

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      1 Reply Last reply
      0
      • C cebyrjoe2

        Hi to all! I would like to ask you which coding convention do you use? Regards,

        G Offline
        G Offline
        gnadeem
        wrote on last edited by
        #3

        hi, some companies do require to follow their guidelines, while small-sized companies may not be so strict about it. in any case its imperative to stick to conventions. you may find this to start with. http://www.nonprofitways.com/standards/HEA/IDesignStandards1.pdf[^] regards.

        G 1 Reply Last reply
        0
        • G gnadeem

          hi, some companies do require to follow their guidelines, while small-sized companies may not be so strict about it. in any case its imperative to stick to conventions. you may find this to start with. http://www.nonprofitways.com/standards/HEA/IDesignStandards1.pdf[^] regards.

          G Offline
          G Offline
          gnadeem
          wrote on last edited by
          #4

          oops. i refreshed the page before responding to this..:(

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups