Revision
Cheat sheets
122 cheat sheets and notes
All cheat sheets
122 results
- ArticleFull Access
From Delegates to LINQ Query Providers in C#
Delegates, events, lambdas, the Expression API and expression trees, and how LINQ query providers translate them.
C# Language
- ArticleFull Access
C# .NET SOLID Principles Guide
Five principles, what they actually mean in C#, and the patterns each one produces.
Architecture and Design in .NET
- ArticleFull Access
Design Patterns That Earn Their Keep in C#
A ranked, opinionated guide — what to use, when, and when to leave it alone.
Architecture and Design in .NET
- ArticleFull Access
C# Delegates, Lambdas, Events and Expression Trees
A deep reference on delegates, lambdas, callbacks, events and expression trees, including closure internals and event-leak forensics.
C# Language
- ArticleFull Access
C# Code Quality: Common Pitfalls and Best Practices
Ten C# code-review topics (naming, method design, exception handling, LINQ, async/await, dependency injection, immutability, null handling, interface design and performance), each with good and bad practice, the reasoning, a code example and a scenario check.
C# Language
- ArticleFull Access
Architect and Team Lead Interview Questions: Basic to Principal Level
60 questions graded from foundational concepts through day-to-day architecture to principal-level distributed-systems depth.
AI and Career Skills for .NET Developers
- ArticleFull Access
Architect and Team Lead Interview Questions: Systems and Leadership
70 questions on architectural styles, system design, distributed systems and engineering leadership.
AI and Career Skills for .NET Developers
- ArticleFull Access
How Computers Work: From Bits to .NET Programs
At the lowest level a computer is nothing more than a collection of switches. Each switch can be on or off.
C# Language
- ArticleFull Access
Compilation, the CLR and Memory Management: .NET vs Other Languages
Compilation generally means translating source code into a lower-level form (machine code or bytecode).
.NET Runtime and Concurrency
- ArticleFull Access
Designing .NET 8 Azure Functions with RavenDB
Hosting plans and cold starts, project structure, and timer, Service Bus and Redis triggers for .NET 8 Azure Functions backed by RavenDB.
Cloud and Networking for .NET
- ArticleFull Access
Adding an xUnit Test Project to a .NET 8 E-Commerce App
Create a test project, run tests with code coverage locally, then add tests and coverage to an Azure DevOps pipeline.
Testing and Production Engineering
- ArticleFree
GC Roots, Reachability, and Why Objects Stay Alive in .NET
Trace GC roots and retaining paths to explain why managed objects stay alive, and distinguish eligibility for collection from when collection occurs.
.NET Runtime and Concurrency
- NoteFree
Equality and Hash-Code Contracts for Immutable C# Value Keys
Learn how equality and hash-code contracts work in C#, why equal objects must share a hash code, why collisions are allowed, and how to implement an immutable value type safely as a dictionary key.
C# Language
- PDFFree
C# Safe Parsing Companion
A five-page companion to the safe parsing lesson, with three standalone .NET 10 programs (ValueBasics.cs, ExactDate.cs and DateAmount.cs), observed results, and a complete command-line solution.
5 pages · 72 KB · C# Language
- PDFFree
C# HashSet Equality: Four Backend Decision Exercises
A two-page interview workbook with four original backend scenarios and explained answers: comparer policy, display order, event history and identity boundaries.
2 pages · 5 KB · C# Language
- NoteFree
C# Async Coordination: Cancellation, Timeouts, and Bounded Concurrency
A practical interview and production guide to cooperative cancellation, timeout boundaries, bounded fan-out, failure handling, and observability in modern C#.
.NET Runtime and Concurrency
- ArticleFull Access
Common C# Patterns and Everyday Best Practices
Everyday C# patterns and their pitfalls: TryParse for numbers and enums, avoiding unnecessary boxing, choosing double or decimal, TryGetValue instead of ContainsKey plus the indexer, ordinal string comparison with StringComparison and StringComparer, and overriding Equals together with GetHashCode.
C# Language
- ArticleFull Access
C# Code Review Cheat Sheet: Bad vs Good Code
Common C# mistakes, each with the better habit and why it matters: async, exceptions, culture, LINQ, null safety, locking, DI lifetimes and time.
C# Language
- NoteFull Access
Reliable Workflow Design: Eight Failure Cases
Eight original worked interview cases covering timeouts, duplicate requests, cleanup, outbox delivery and notification failures, with concrete test ideas. Paid text workshop; no executable lab or PDF included. Preview principle: define the business invariant before choosing a pattern.
Architecture and Design in .NET
- PDFFull Access
C# Concurrency Lab Workbook
Eight-page study workbook covering task ownership, cancellation, bounded parallelism, shared state, channels and graceful shutdown, with exercises and explained checkpoints.
8 pages · 62 KB · .NET Runtime and Concurrency