dotnet-csharp Documentation
C# language documentation from the official dotnet/docs repository. Covers language features, syntax, types, LINQ, async/await, pattern matching, records, generics, and more.
Quick Reference
| Task |
Entry Point |
| Language overview |
contents/tour-of-csharp/overview.md |
| Built-in types reference |
contents/language-reference/builtin-types/ |
| Keywords reference |
contents/language-reference/keywords/ |
| Operators reference |
contents/language-reference/operators/ |
| async/await (TAP model) |
contents/asynchronous-programming/task-asynchronous-programming-model.md |
| LINQ |
contents/linq/index.md |
| Pattern matching |
contents/fundamentals/patterns/pattern-matching.md |
| Nullable reference types |
contents/fundamentals/null-safety/nullable-reference-types.md |
| Generics |
contents/programming-guide/generics/constraints-on-type-parameters.md |
| Records |
contents/fundamentals/types/records.md |
| Compiler errors |
contents/language-reference/compiler-messages/ |
| What's new (C# 14/15) |
contents/whats-new/csharp-14.md |
When to use
Use this skill when the user asks about:
- C# language syntax, keywords, operators, or statements
- Type system: classes, structs, records, interfaces, generics, enums, tuples
- async/await, Tasks, ValueTask, IAsyncEnumerable
- LINQ queries (query syntax and method syntax)
- Pattern matching, switch expressions
- Nullable reference types and null safety
- Delegates, events, and lambda expressions
- String interpolation, raw string literals
- Expression trees, reflection, and attributes
- Interop (COM, P/Invoke, dynamic)
- ref, in, out, ref struct, Span performance patterns
- Compiler error codes (CSxxxx)
- C# 12, 13, 14, 15 new language features
How to find information
- First, read
TOC.md for complete file listing organized by directory
- Identify relevant section based on user's question
- Read specific files for details
TOC.md contains all files organized by directory - always check it first.
1---2name: olore-dotnet-csharp-latest3description: Local C# language documentation reference (latest). C# language documentation. Use for C# language features, syntax, types, LINQ, async/await, pattern matching, records, generics, and language specification.4metadata:5 source: https://skillmd.com/skills/olorehq/olore-dotnet-csharp-latest6---78# dotnet-csharp Documentation910C# language documentation from the official dotnet/docs repository. Covers language features, syntax, types, LINQ, async/await, pattern matching, records, generics, and more.1112## Quick Reference1314| Task | Entry Point |15|------|-------------|16| Language overview | `contents/tour-of-csharp/overview.md` |17| Built-in types reference | `contents/language-reference/builtin-types/` |18| Keywords reference | `contents/language-reference/keywords/` |19| Operators reference | `contents/language-reference/operators/` |20| async/await (TAP model) | `contents/asynchronous-programming/task-asynchronous-programming-model.md` |21| LINQ | `contents/linq/index.md` |22| Pattern matching | `contents/fundamentals/patterns/pattern-matching.md` |23| Nullable reference types | `contents/fundamentals/null-safety/nullable-reference-types.md` |24| Generics | `contents/programming-guide/generics/constraints-on-type-parameters.md` |25| Records | `contents/fundamentals/types/records.md` |26| Compiler errors | `contents/language-reference/compiler-messages/` |27| What's new (C# 14/15) | `contents/whats-new/csharp-14.md` |2829## When to use3031Use this skill when the user asks about:32- C# language syntax, keywords, operators, or statements33- Type system: classes, structs, records, interfaces, generics, enums, tuples34- async/await, Tasks, ValueTask, IAsyncEnumerable35- LINQ queries (query syntax and method syntax)36- Pattern matching, switch expressions37- Nullable reference types and null safety38- Delegates, events, and lambda expressions39- String interpolation, raw string literals40- Expression trees, reflection, and attributes41- Interop (COM, P/Invoke, dynamic)42- ref, in, out, ref struct, Span<T> performance patterns43- Compiler error codes (CSxxxx)44- C# 12, 13, 14, 15 new language features4546## How to find information47481. **First**, read `TOC.md` for complete file listing organized by directory492. Identify relevant section based on user's question503. Read specific files for details5152**TOC.md contains all files organized by directory - always check it first.**