Formatting
Opening Curly Bracket
All opening curly brackets ({) should be on the same with the previous syntax.
Examples
if (IsHit) {
// Do something
}
public class RaceCar {
// Do something
}
switch (MessageType) {
case MessageType.Local:
// Do something
break;
}
If Statement
There should be a single space after the if keywords.
Examples
if (IsHit) {
// Do something
}