Revision
Cheat sheets
Articles
8 resultsClear filters
- ArticleFree
Cancellation Tokens in Async C# APIs: Cooperative Shutdown
Pass cancellation tokens through async APIs.
C# Internals and Performance
- ArticleFree
Allocation-Aware Parsing with ReadOnlySpan<char> in C#
Parse text with ReadOnlySpan<char> and slices.
C# Internals and Performance
- ArticleFull Access
Safe ArrayPool<byte> Ownership and Finally-Based Returns
Track the valid slice of a rented byte buffer.
C# Internals and Performance
- ArticleFree
GC Roots, Reachability, and Why Objects Stay Alive in .NET
Trace GC roots and the references keeping objects alive.
C# Internals and Performance
- ArticleFree
ConcurrentDictionary: Thread Safety Is Not Workflow Atomicity
Separate atomic dictionary operations from multi-step workflows.
C# Internals and Performance
- ArticleFull Access
Span<T> and Memory<T> in C#: A Practical Reference
Choose Span or Memory by lifetime and storage needs.
C# Internals and Performance
- ArticleFull Access
Compilation, the CLR and Memory Management: .NET vs Other Languages
Follow C# compilation through IL and the CLR.
C# Internals and Performance
- ArticleFull Access
C# and .NET Performance: Async, Threads and Data Structures
Distinguish CPU-bound work from I/O waits.
C# Internals and Performance