Equality in C#: Reference, Value, and Operator Semantics
Understand equality in C# through static operand types, reference identity, Equals, strings, records, structs, and boxed values with practical examples.
In-depth C# and .NET tutorials covering structured logging with Serilog, building Roslyn analyzers, NuGet packaging, and other core language and tooling topics.
Showing 1–6 of 273 articles
Understand equality in C# through static operand types, reference identity, Equals, strings, records, structs, and boxed values with practical examples.
Learn arithmetic operators in C# through numeric promotion, integer division, remainder, zero division, and checked overflow with clear practical examples.
Learn testing C# events with complete deterministic examples for payloads, counts, removal, synchronous failures, and task outcomes without sleeps or GC.
Understand logical operators in C#, including short-circuiting, Boolean guards, eager evaluation, and nullable bool rules, through practical code examples.
Understand concurrent collections in C# by separating safe operations, repeatable factories, enumeration, shared values, and multi-step workflow boundaries.
Understand C# event subscriptions with complete examples for handler identity, duplicate removal, retained wrappers, owned lifetime, and dispatch snapshots.