Skip to content

Coding Conventions

williamlixu edited this page Oct 11, 2019 · 3 revisions

Follow this guide

Basically, we follow this guide here. These rules generally follow Visual Studio defaults. The most important parts are highlighted below.

Important conventions

  • Fields follow _camelCase (with the underscore). Properties are in PascalCase.
  • Braces start on a new line (this is different from typical Java conventions). This is the common convention for C#. For example:
if (x == y)
{
    doSomething();
}