C programming
Async/Await Beyond the Basics in C#: Practical Concurrency Patterns for Real-World APIs
- Sudhir Mangla
- C# Programming , Performance optimization
- 29 Dec, 2025
1 Introduction: The Architect’s View of Concurrency Modern .NET applications rely heavily on async/await to stay responsive and scale across machines, cores, and networks. The syntax makes asy
Read More
Functional C# in Practice: Records, Immutability, and Pipelines for Safer Domain Logic
- Sudhir Mangla
- C# Programming , Domain driven design
- 24 Dec, 2025
1 The Functional Renaissance in Modern .NET Functional ideas have been part of .NET since LINQ appeared in 2007, but the environment we build software in today is very different. Modern systems
Read More
Refactoring Legacy C# Codebases: From `async void` and `ArrayList` to Modern, Safe C#
- Sudhir Mangla
- C# Programming , Clean code
- 12 Dec, 2025
1 The Strategic Modernization Roadmap: Philosophy Over Syntax Refactoring legacy C# code is rarely about swapping old syntax for new syntax. Experienced teams know the real problem runs much dee
Read More
Property-Based Testing in C#: Breaking Your Assumptions with FsCheck and xUnit
- Sudhir Mangla
- C# Programming , Programming best practices
- 30 Nov, 2025
1 The Paradigm Shift: From verifying Examples to Enforcing Laws Most teams rely heavily on example-based tests. They write a few “happy path” tests, add some edge cases they can think of, and as
Read More
Precision Matters: Handling Money, Time Zones, and Ranges Correctly in C#
- Sudhir Mangla
- C# Programming , Programming best practices
- 22 Nov, 2025
1 The Hidden Cost of Imprecision Precision issues in financial and time-based systems rarely appear as obvious failures. They show up as small inconsistencies—pennies lost in calculations, off-b
Read More
Architecting a Game Loop in C#: Building a Real-Time Simulation Engine Step by Step
- Sudhir Mangla
- C# Programming , Performance Optimization
- 17 Nov, 2025
1 The Philosophy of Time: Simulations vs. Reactive Systems Real-time simulation engines live in a different world from typical business applications. They don’t respond to a request and return a
Read More
Mastering LINQ in C#: From Readable Queries to High-Performance Data Pipelines
- Sudhir Mangla
- C# Programming , Performance Optimization
- 15 Nov, 2025
1 Introduction: LINQ's Two Faces—Clarity and Cost Every experienced .NET developer has a story that starts with “it worked fine in dev, but production melted.” More often than not, LINQ is somew
Read More