﻿---
title: csharp_space_after_comma
description: Space after a comma. Defaults to `true`
url: https://docs-v3-preview.elastic.dev/reference/spacing/csharp_space_after_comma
---

# csharp_space_after_comma
Space after a comma.

## Values


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

**Default:** `true`

### `csharp_space_after_comma = true`

```ini
csharp_space_after_comma = true
```

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

    public class Widget
    {
        public void Register(string name,int value,bool active)
        {
            Console.WriteLine(name,value,active);
        }
    }
    ```
  </tab-item>

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

    public class Widget
    {
        public void Register(string name, int value, bool active)
        {
            Console.WriteLine(name, value, active);
        }
    }
    ```
  </tab-item>
</tab-set>


### `csharp_space_after_comma = false`

```ini
csharp_space_after_comma = false
```

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

    public class Widget
    {
        public void Register(string name, int value, bool active)
        {
            Console.WriteLine(name, value, active);
        }
    }
    ```
  </tab-item>

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

    public class Widget
    {
        public void Register(string name,int value,bool active)
        {
            Console.WriteLine(name,value,active);
        }
    }
    ```
  </tab-item>
</tab-set>