# void

*noun*

say it: **“VOID”** **/vɔɪd/**

The return type for a method that does a job but sends no value back.

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

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

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

## In a sentence

- “PrintReceipt is **void**, because it prints the receipt and returns nothing.”

Level: Apprentice · [More C# terms at this level](https://www.ask-codey.com/glossary?category=c-sharp&level=2)

Updated: November 9, 2026

## In other subjects

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

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