﻿---
title: csharp_indent_braces
description: Indent the brace tokens themselves an extra level. Defaults to `false`
url: https://docs-v3-preview.elastic.dev/reference/indentation/csharp_indent_braces
---

# csharp_indent_braces
Indent the brace tokens themselves an extra level.

## Values


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

**Default:** `false`

### `csharp_indent_braces = true`

```ini
csharp_indent_braces = true
```

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

    public class Widget
    {
        public void Run()
        {
            Console.WriteLine("hello");
        }
    }
    ```
  </tab-item>

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

    public class Widget
        {
        public void Run()
            {
            Console.WriteLine("hello");
            }
        }
    ```
  </tab-item>
</tab-set>


### `csharp_indent_braces = false`

```ini
csharp_indent_braces = false
```

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

    public class Widget
    {
        public void Run()
        {
            Console.WriteLine("hello");
        }
    }
    ```
  </tab-item>

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

    public class Widget
    {
        public void Run()
        {
            Console.WriteLine("hello");
        }
    }
    ```
  </tab-item>
</tab-set>