﻿---
title: csharp_space_between_method_call_name_and_opening_parenthesis
description: Space between the method name and its opening parenthesis at a call site. Defaults to `false`
url: https://docs-v3-preview.elastic.dev/reference/spacing/csharp_space_between_method_call_name_and_opening_parenthesis
---

# csharp_space_between_method_call_name_and_opening_parenthesis
Space between the method name and its opening parenthesis at a call site.

## Values


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

**Default:** `false`

### `csharp_space_between_method_call_name_and_opening_parenthesis = true`

```ini
csharp_space_between_method_call_name_and_opening_parenthesis = true
```

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

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

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

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


### `csharp_space_between_method_call_name_and_opening_parenthesis = false`

```ini
csharp_space_between_method_call_name_and_opening_parenthesis = false
```

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

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

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

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