﻿---
title: csharp_wrap_before_arrow_with_expressions
description: When an expression body wraps, put => at the start of the new line. Defaults to `false`
url: https://docs-v3-preview.elastic.dev/reference/wrapping/csharp_wrap_before_arrow_with_expressions
---

# csharp_wrap_before_arrow_with_expressions
When an expression body wraps, put => at the start of the new line.

## Values


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

**Default:** `false`

### `csharp_wrap_before_arrow_with_expressions = true`

```ini
csharp_wrap_before_arrow_with_expressions = true
```

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }

        public string Describe()
        {
            return $"Widget({Value})";
        }
    }
    ```
  </tab-item>

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }

        public string Describe()
        {
            return $"Widget({Value})";
        }
    }
    ```
  </tab-item>
</tab-set>


### `csharp_wrap_before_arrow_with_expressions = false`

```ini
csharp_wrap_before_arrow_with_expressions = false
```

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }

        public string Describe()
        {
            return $"Widget({Value})";
        }
    }
    ```
  </tab-item>

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }

        public string Describe()
        {
            return $"Widget({Value})";
        }
    }
    ```
  </tab-item>
</tab-set>