﻿---
title: csharp_wrap_after_dot_in_method_calls
description: When a chain breaks, leave the dot at the end of the preceding line. Defaults to `false`
url: https://docs-v3-preview.elastic.dev/reference/wrapping/csharp_wrap_after_dot_in_method_calls
---

# csharp_wrap_after_dot_in_method_calls
When a chain breaks, leave the dot at the end of the preceding line.

## Values


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

**Default:** `false`

### `csharp_wrap_after_dot_in_method_calls = true`

```ini
csharp_wrap_after_dot_in_method_calls = true
```

<tab-set>
  <tab-item title="Before">
    ```csharp
    using System.Text;

    namespace N;

    public class Widget
    {
        public string Build()
        {
            return new StringBuilder().Append("Hello").Append(", ").Append("World").Append("!").ToString();
        }
    }
    ```
  </tab-item>

  <tab-item title="After">
    ```csharp
    using System.Text;

    namespace N;

    public class Widget
    {
        public string Build()
        {
            return new StringBuilder().Append("Hello").Append(", ").Append("World").Append("!").ToString();
        }
    }
    ```
  </tab-item>
</tab-set>


### `csharp_wrap_after_dot_in_method_calls = false`

```ini
csharp_wrap_after_dot_in_method_calls = false
```

<tab-set>
  <tab-item title="Before">
    ```csharp
    using System.Text;

    namespace N;

    public class Widget
    {
        public string Build()
        {
            return new StringBuilder().Append("Hello").Append(", ").Append("World").Append("!").ToString();
        }
    }
    ```
  </tab-item>

  <tab-item title="After">
    ```csharp
    using System.Text;

    namespace N;

    public class Widget
    {
        public string Build()
        {
            return new StringBuilder().Append("Hello").Append(", ").Append("World").Append("!").ToString();
        }
    }
    ```
  </tab-item>
</tab-set>