csharp_space_between_empty_square_brackets

Space inside empty square brackets [].

Value Notes
true
false

Default: false

No known case where Curb's output is not a fixed point of dotnet format — see conformance.

csharp_space_between_empty_square_brackets = true
		
namespace N;

public class Widget
{
    private int[] _data = new int[] { 1, 2, 3 };
}
		
namespace N;

public class Widget
{
    private int[ ] _data = new int[ ] { 1, 2, 3 };
}
		
csharp_space_between_empty_square_brackets = false
		
namespace N;

public class Widget
{
    private int[ ] _data = new int[ ] { 1, 2, 3 };
}
		
namespace N;

public class Widget
{
    private int[] _data = new int[] { 1, 2, 3 };
}