Table of Contents

Fields

  • Constants, non-private read-only fields and static read-only fields must always start with an uppercase letter (SA1303, SA1304, 1311).

  • Field names must not use Hungarian notation (SA1305).

  • Private read-only fields must start with a lowercase letter (SA1306).

  • Public or internal fields must always start with an uppercase letter (SA1307).

  • Field names should be either a noun, a noun phrase or an adjective.

  • Variable names must not be prefixed (SA1308): member variables must not begin with 'm_' or 's_' syntax.