Revision
Cheat sheets
Articles
72 resultsClear filters
- 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
- 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
- ArticleFree
Deferred Execution and Repeated Enumeration in LINQ to Objects
Learn when a LINQ to Objects query actually runs, why enumerating the same query twice repeats work, and how that differs from database query translation and execution.
C# Language
- ArticleFree
Allocation-Aware Parsing with ReadOnlySpan<char> in C#
Learn how ReadOnlySpan<char> lets you parse text without copying substrings, how slicing preserves views into the same input, and why ref-struct lifetime rules prevent spans from escaping safe scope boundaries.
.NET Runtime and Concurrency
- ArticleFull Access
Safe ArrayPool<byte> Ownership and Finally-Based Returns
Learn how to rent byte buffers from ArrayPool<byte> safely: track the valid slice length, treat the rent as borrowed ownership, and always return it in finally even when exceptions happen.
.NET Runtime and Concurrency
- ArticleFree
Working with bool, char, and string in Everyday C#
Learn how C# boolean, character, and string types behave in real code, including comparisons, text handling, and common pitfalls that matter in production.
C# Language
- ArticleFree
Generic Types and Generic Methods in C#
Learn how C# generics let you reuse algorithms and data structures without giving up compile-time type safety or resorting to casts.
C# Language
- ArticleFree
Cancellation Tokens in Async C# APIs: Cooperative Shutdown
Learn how to design, pass, and honor CancellationToken in async C# APIs so callers can stop work cooperatively without leaking tasks or hiding late failures.
.NET Runtime and Concurrency