Skip to content

Glossary: C# Beyond the Basics

anonymous type

Also written: anonymous types

A small object made with `new { Cafe = ..., Total = ... }` that has no type name you can write. Store it with `var` and use it inside one method.

Where the book teaches it

Related terms

tuple