Fundamentals - Part 9
Extension methods look like they extend types, but they’re just static methods with special syntax. In this post, we’ll see how the compiler rewrites them, how they differ from instance methods, and why LINQ depends on them.
Extension methods look like they extend types, but they’re just static methods with special syntax. In this post, we’ll see how the compiler rewrites them, how they differ from instance methods, and why LINQ depends on them.
Why are static or sealed members more efficient? What are explicitly implemented interface methods? And how does the new keyword affect methods? In this post, we’ll break down these questions with clear explanations and practical C# examples.
Interfaces, virtual, and abstract methods form the backbone of polymorphism in C#. In this post, we’ll explore how they really work under the hood, with practical examples showing vtable dispatch, contracts, and inheritance in action.
Expression trees power LINQ providers like Entity Framework by turning your C# lambdas into data that can be translated into SQL. This post explains what expression trees are, how EF uses them, and how to create one yourself.
Reflection powers many C# frameworks, from Entity Framework and serializers to dependency injection and testing frameworks. In this post, we’ll explore how these tools use reflection behind the scenes, with practical examples to demystify the “magic” and deepen your C# fundamentals.
Nullable reference types go beyond just adding ? to your variables. In this post, we’ll explore how to guide the C# compiler using flow-aware attributes like [notnullwhen], [maybenull], and more — helping you write safer, clearer, and more reliable code.
Explore the inner workings of foreach loop — from compiler transformation and custom enumerators to yield return and deferred execution. This post breaks down essential concepts that every C# developer should understand to write safer, clearer, and more efficient iteration code.
Methods, Lambdas, and Local Functions in C# – What's the Difference? When learning C#, you’ll often hear about methods, lambdas, and local functions. While they all let you encapsulate code logic, they serve slightly different purposes and behave differently in a few key areas.
I recently bumped into this post on reddit. It caught my eye because it is a question that I always ask myself, do I know enough? Do I really understand how things are working under the hood? And if I do, is it enough?
So I went and dive in and took every bullet point and went deeper, went to find out how much do I really know. Let’s start with the first one
Build fast, secure, and scalable backends to power modern web applications and dashboards.