# Anonymous Type

A compiler-created read-only type defined from an object initializer.

## What is **Anonymous Type** in C#?

**Anonymous Type** — A compiler-created read-only type defined from an object initializer.

```csharp
class OrderView
{
    object summary = new { Item = "Tea", Quantity = 2 };
}
```

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

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/anonymous-type
