Loading

csharp_space_before_open_square_brackets

Space before an opening square bracket.

Value Notes
true
false

Default: false

csharp_space_before_open_square_brackets = true
		
namespace N;

public class Widget
{
    public int Get()
    {
        int[] arr = new int[10];
        arr[0] = 1;
        return arr[0];
    }
}
		
namespace N;

public class Widget
{
    public int Get()
    {
        int [] arr = new int [10];
        arr [0] = 1;
        return arr [0];
    }
}
		
csharp_space_before_open_square_brackets = false
		
namespace N;

public class Widget
{
    public int Get()
    {
        int [] arr = new int [10];
        arr [0] = 1;
        return arr [0];
    }
}
		
namespace N;

public class Widget
{
    public int Get()
    {
        int[] arr = new int[10];
        arr[0] = 1;
        return arr[0];
    }
}