Collections and Queries in C#
Collections and Queries in C#
Section titled “Collections and Queries in C#”Every page here directly affects how you shape or query in-memory data and sequences.
| Feature | Introduced In | Why it belongs here | Guide |
|---|---|---|---|
| Lambda expressions | C# 3.0 | Core building block for projection and filtering. | Guide |
| LINQ query expressions | C# 3.0 | Declarative query syntax over sequences. | Guide |
| Anonymous types | C# 3.0 | Common LINQ projection target. | Guide |
| Iterator (yield) | C# 2.0 | Creates lazy sequences for enumeration pipelines. | Guide |
| Collection expressions | C# 12.0 | Concise collection creation and spreading. | Guide |
| Collection expression arguments | C# 15.0 preview | Keeps constructor-style collection setup inside the collection expression syntax. | Guide |
| Range operator | C# 8.0 | Slices arrays, spans, and strings. | Guide |