Editorconfig Guide.e

Space between method declaration empty parameter list parentheses

EditorConfig key: csharp-space-between-method-declaration-empty-parameter-list-parentheses

Space between method declaration empty parameter list parentheses

csharp-space-between-method-declaration-empty-parameter-list-parentheses

This option controls whether a space should appear between the parentheses of an empty parameter list in a method declaration.

Default value:

false

Possible values:

  • true
  • false

Examples

true
void Method( ) {}
false
void Method() {}