Revision
Cheat sheets
C# Language cheat sheets
55 resultsClear filters
- PDFFree
C# Collections and Complexity Companion
Compare collection choices, equality and ordering.
13 pages · 90 KB · C# Language
- ArticleFull Access
C# Code as Data: Expression Trees, IQueryable and Async/Await
Connect delegates and events to expression trees.
C# Language
- ArticleFull Access
IEnumerable, IEnumerator and IAsyncEnumerable in C# (with yield)
Follow foreach and the iterator pattern.
C# Language
- NoteFull Access
Choosing Ordinal Comparers for Dictionary and HashSet
Choose string comparers from the meaning of the key.
C# Language
- PDFFree
C# Methods and API Contracts Companion
Clarify validation, parameter passing and API contracts.
10 pages · 82 KB · C# Language
- ArticleFull Access
C# Code Review Cheat Sheet: Bad vs Good Code
Compare common C# mistakes with safer alternatives.
C# Language
- ArticleFull Access
C# Interview Questions with Answers, Analogies and Code
Practise C# questions with answers, analogies and code.
C# Language
- ArticleFull Access
Learning C# and .NET: Fundamentals to Advanced Topics
Build from C# fundamentals to collections and generics.
C# Language
- PDFFree
C# Resource Ownership and Disposal Companion
Reason about resource ownership and scope exit.
16 pages · 97 KB · C# Language
- ArticleFull Access
100 LINQ Examples from Basic to Advanced
Work through filtering, projection, grouping and joins.
C# Language
- ArticleFull Access
How Computers Work: From Bits to .NET Programs
Connect bits, logic gates, memory and CPU instructions.
C# Language
- ArticleFull Access
Generics, Delegates, Events and Iterators in C#
Use type parameters and constraints in generic code.
C# Language
- NoteFree
Equality and Hash-Code Contracts for Immutable C# Value Keys
Keep equality and hash-code contracts consistent.
C# Language
- ArticleFree
FrozenDictionary and FrozenSet: Snapshots and Mutation Traps
Build FrozenDictionary and FrozenSet lookup snapshots.
C# Language
- ArticleFull Access
Common C# Patterns and Everyday Best Practices
Parse values and choose numeric types deliberately.
C# Language
- PDFFree
C# HashSet Equality: Four Backend Decision Exercises
Choose comparer rules for case-insensitive tags.
2 pages · 63 KB · C# Language
- ArticleFull Access
C# Delegates, Lambdas, Events and Expression Trees
Connect delegates, lambdas, callbacks and events.
C# Language
- ArticleFull Access
38 Hidden and Underused C# Features
Explore lesser-used C# syntax and .NET APIs.
C# Language
- ArticleFree
Choosing Between StringBuilder and String Concatenation in C#
Choose concatenation or interpolation for small fixed inputs.
C# Language
- NoteFree
C# Copies Values and References Differently
Trace value copies and shared object references.
C# Language