VB.net coding conventions

Identifiers

  • For parameters useĀ camelCasing:

  • For all otherĀ cases use PascalCasing:

Word choice

  • Choose easily readable names

  • Do not use underscores and hyphens

  • Do not use Hungarian notation

  • Avoid names used widely in programming languages
  • Do not use abbreviations on contractions as part of identifier names

  • Do not use “My” as part of variable name

Layout

  • Use only one statement per line
  • Use only one declaration per line
  • Put comments on a separate line
  • Insert one space between comment delimiter and comment text
    <!– Crayon Syntax Highlighter v_2.7 this link.2_beta –>

  • Do not surround comments with block of asterisks


References: