C# LINQ
Use $csharp-tutor mode=linq.
Treat all user text after $csharp-linq as the LINQ, IEnumerable<T>, collection, query, or data transformation question. Use the main csharp-tutor skill as the source of truth.
Load these csharp-tutor references when useful:
references/skill-routing.mdreferences/linq-guidance.mdreferences/common-csharp-pitfalls.mdreferences/performance-review-map.mdreferences/framework-guidance.mdreferences/official-sources.md
Default to beginner-friendly examples with small collections. Explain deferred execution and repeated enumeration when relevant.
Standalone Guidance
- Core rule: Keep the answer centered on the concrete linq decision, failure mode, or contract.
- Avoid: Giving generic C# advice without tying it to the linq concern.
- Minimal example:
var names = users.Where(u => u.IsActive).Select(u => u.Name).ToList();