# void

A return type showing that a method returns no value.

## What is **void** in C#?

**void** — A return type showing that a method returns no value.

```csharp
class Order
{
    void MarkAsPaid()
    {
        bool paid = true;
    }
}
```

Level: Apprentice · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/apprentice)

Updated: September 27, 2026

## In other subjects

- [void in Java](https://www.ask-codey.com/glossary/void)

Source: https://www.ask-codey.com/glossary/void-c-sharp
