Revision
Cheat sheets
C# Language cheat sheets
55 resultsClear filters
- ArticleFree
Frozen Collections in .NET: Comparers and Trade-offs
Build stable lookup snapshots with frozen collections.
C# Language
- NoteFree
.NET Collections Big-O Cheat Sheet
Compare common collection-operation costs.
C# Language
- PDFFree
C# Safe Parsing Companion
Practise safe value, date and amount parsing.
5 pages · 72 KB · C# Language
- ArticleFree
Grouping with GroupBy and Common Aggregates in LINQ to Objects
Group in-memory data by a meaningful key.
C# Language
- PDFFree
C# Exceptions and Failure Boundaries Companion
Represent lookup failures with explicit outcomes.
12 pages · 90 KB · C# Language
- NoteFree
LINQ to Objects Execution and Enumeration Checklist for Interviews
Identify when LINQ to Objects queries execute.
C# Language
- PDFFree
C# Data Shapes and Patterns Companion
Compare enums, tuples, records and property patterns.
7 pages · 74 KB · C# Language
- ArticleFull Access
C# Code Quality: Common Pitfalls and Best Practices
Review C# exceptions, LINQ, async, DI and null handling in code-review scenarios.
C# Language
- ArticleFree
Select vs SelectMany in LINQ to Objects: Projection or Flattening
Use Select for one result per source element.
C# Language
- ArticleFree
Generic Types and Generic Methods in C#
Choose between generic types and generic methods.
C# Language
- ArticleFree
String Immutability in C#: Allocations, Sharing and Surprises
Trace shared string references and reassignment.
C# Language
- PDFFree
C# Generics, Constraints and Variance Companion
Use constraints for generic entity lookup.
16 pages · 95 KB · C# Language
- PDFFree
C# LINQ Execution and Performance Companion
Trace deferred queries, projection, grouping and reuse boundaries.
16 pages · 95 KB · C# Language
- ArticleFree
Deferred Execution and Repeated Enumeration in LINQ to Objects
Trace when LINQ to Objects predicates execute.
C# Language
- NoteFull Access
Why Mutating Dictionary Keys Breaks Lookup in C#
Explain how mutable key identity can break dictionary lookup.
C# Language
- ArticleFull Access
Advanced C# Engineering: Reliability, Performance, and Design
Compare C# approaches to logging, async and performance.
C# Language
- PDFFree
C# Records and Interface Contracts Companion
Explore validated records and interface contracts.
13 pages · 89 KB · C# Language
- PDFFree
C# Branching and Loops Companion
Trace branching and loop behavior in C# examples.
7 pages · 77 KB · C# Language
- PDFFree
C# Console Design and Testing Companion
Separate a console boundary, calculation library and test harness.
16 pages · 96 KB · C# Language
- ArticleFree
Choosing Select or SelectMany in C# LINQ with Order-Line Examples
Choose Select for projection and SelectMany for flattening.
C# Language