﻿---
title: csharp_blank_lines_around_property
description: Blank lines before and after each property, indexer or event. Defaults to `0`
url: https://docs-v3-preview.elastic.dev/reference/blank-lines/csharp_blank_lines_around_property
---

# csharp_blank_lines_around_property
Blank lines before and after each property, indexer or event.

## Values


| Value       | Notes        |
|-------------|--------------|
| `<integer>` | Any integer. |

**Default:** `0`

### `csharp_blank_lines_around_property = 1`

```ini
csharp_blank_lines_around_property = 1
```

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

    public class Widget
    {
        public int X { get; set; }
        public int Y { get; set; }
        public int Z { get; set; }
    }
    ```
  </tab-item>

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

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

        public int Y { get; set; }

        public int Z { get; set; }
    }
    ```
  </tab-item>
</tab-set>