Editorconfig Guide.e

Space after semicolon in for statements

EditorConfig key: csharp-space-after-semicolon-in-for-statement

Space after semicolon in for statements

csharp-space-after-semicolon-in-for-statement

This option controls whether a space should follow semicolons inside the header of a for statement.

Default value:

true

Possible values:

  • true
  • false

Examples

true
for (int i = 0; i < 10; i++) {}
false
for (int i = 0;i < 10;i++) {}