# Namespace

*noun*

say it: **“NAYM-spays”** **/ˈneɪmˌspeɪs/**

A named group of classes in C#, such as System, that keeps classes with the same name apart; a class's full name starts with it.

## What is **Namespace** in C#?

**Namespace** — A named container that organizes related types and prevents naming conflicts.

```csharp
using System.Globalization;

namespace Orders;

class OrderDate
{
    DateTime placedOn = DateTime.Today;
}
```

## In a sentence

- “Console lives in the System **namespace**, so its full name is System.Console.”

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

Updated: November 18, 2026

## In other subjects

- [Namespace in Git](https://www.ask-codey.com/glossary/namespace-git)
- [Namespace in Python](https://www.ask-codey.com/glossary/namespace)

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