﻿---
title: csharp_space_before_dot
description: Space before a dot. Defaults to `false`
url: https://docs-v3-preview.elastic.dev/reference/spacing/csharp_space_before_dot
---

# csharp_space_before_dot
Space before a dot.

## Values


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

**Default:** `false`

### `csharp_space_before_dot = true`

```ini
csharp_space_before_dot = 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(", ").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(", ").ToString();
        }
    }
    ```
  </tab-item>
</tab-set>


### `csharp_space_before_dot = false`

```ini
csharp_space_before_dot = 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(", ") .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(", ").ToString();
        }
    }
    ```
  </tab-item>
</tab-set>