Editorconfig Guide.e

Space after cast

EditorConfig key: csharp-space-after-cast

Space after cast

csharp-space-after-cast

This option controls whether a space should follow a type cast.

Default value:

true

Possible values:

  • true
  • false

Examples

true
var x = (int) y;
false
var x = (int)y;