﻿---
title: csharp_wrap_before_binary_opsign
description: When a binary chain breaks, start the new line with the operator. Defaults to `true`
url: https://docs-v3-preview.elastic.dev/reference/wrapping/csharp_wrap_before_binary_opsign
---

# csharp_wrap_before_binary_opsign
When a binary chain breaks, start the new line with the operator.

## Values


| Value   | Notes |
|---------|-------|
| `true`  |       |
| `false` |       |

**Default:** `true`

### `csharp_wrap_before_binary_opsign = true`

```ini
csharp_wrap_before_binary_opsign = true
```

<tab-set>
  <tab-item title="Before">
    ```csharp
    namespace N;

    public class Widget
    {
        public bool Check(int a, int b, int c)
        {
            return a > 0 && b > 0 && c > 0 && a + b > c && a + c > b && b + c > a;
        }
    }
    ```
  </tab-item>

  <tab-item title="After">
    ```csharp
    namespace N;

    public class Widget
    {
        public bool Check(int a, int b, int c)
        {
            return a > 0 && b > 0 && c > 0 && a + b > c && a + c > b && b + c > a;
        }
    }
    ```
  </tab-item>
</tab-set>


### `csharp_wrap_before_binary_opsign = false`

```ini
csharp_wrap_before_binary_opsign = false
```

<tab-set>
  <tab-item title="Before">
    ```csharp
    namespace N;

    public class Widget
    {
        public bool Check(int a, int b, int c)
        {
            return a > 0 && b > 0 && c > 0 && a + b > c && a + c > b && b + c > a;
        }
    }
    ```
  </tab-item>

  <tab-item title="After">
    ```csharp
    namespace N;

    public class Widget
    {
        public bool Check(int a, int b, int c)
        {
            return a > 0 && b > 0 && c > 0 && a + b > c && a + c > b && b + c > a;
        }
    }
    ```
  </tab-item>
</tab-set>