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;
}
OpeningIf Curly BracketStatement
All opening curly brackets ({)There should be ona single space after the same with the previous syntax.if
Examples
if (IsHit) {
// Do something
}