Revision
Cheat sheets
Articles
31 resultsClear filters
- 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
- 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
- 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
- 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
- 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
- ArticleFree
Frozen Collections in .NET: Comparers and Trade-offs
Build stable lookup snapshots with frozen collections.
C# Language
- ArticleFree
Grouping with GroupBy and Common Aggregates in LINQ to Objects
Group in-memory data by a meaningful key.
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
- ArticleFree
Deferred Execution and Repeated Enumeration in LINQ to Objects
Trace when LINQ to Objects predicates execute.
C# Language