Skip to content

Glossary: C# Basics

Deconstruction

Also written: deconstruct

Splitting a pair into two named variables at once, as in `foreach (var (name, cost) in menu)`.

Where the book teaches it

Related terms

DictionaryForeach loop