C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 29 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 29 of 94
Newest first
-
Write Code for Humans First, Machines Second
medium.com Issue #354
In my career so far, I’ve worked with two kinds of .NET projects. Both were production systems, business-critical, and written in C#. Yet…
-
-
Record, Record Struct, and Structural Equality in C#
c-sharpcorner.com Issue #354
Learn how structural equality works in modern C# using records and record structs, and why it is essential for building correct value objects in Domain-Driven Design. This guide explains when to use r...
-
How yield return Reduces Memory by 90% in C#
dominika-sikorska.medium.com Issue #354
How stateful iteration cuts memory usage by 90% in .NET — with real-world code examples and performance benchmarks.
-
The New field Keyword Improves Properties in C# 14
medium.com Issue #354
How C# 14 finally eliminates boilerplate in properties — without sacrificing encapsulation, validation, or flexibility.
-
No Console.WriteLine for fun
medium.com Issue #353
As a non-traditional software developer, I always skip using debugger mode and add 1000s of lines of Console.WriteLine to know what is…
-
LINQ in C#: The Superpower You Didn’t Know You Already Have
medium.com Issue #353
Learn LINQ the easy way with practical examples, beginner-friendly explanations, and exercises. Continue reading on Towards Dev »
-
Understanding Delegates in C#
c-sharpcorner.com Issue #353
Delegates in C# are type-safe references to methods that enable flexible, reusable, and loosely coupled code. They power events, callbacks, and asynchronous operations, with built-in types like Action...
-
The Full Stack Developer is a Myth (And It’s Ruining Your Career)
medium.com Issue #352
Why trying to be a “Senior” in both .NET and React is making you mediocre at both.
-
Dependency Injection (DI) in ASP.NET Core (without magic)
medium.com Issue #352
When I first started with ASP.NET Core, Dependency Injection sounded scary. People talked about “IoC containers”, “lifetimes”, and other…
-
One Minute Knowledge: Is ToArrayAsync or ToListAsync faster for Entity Framework?
steven-giesel.com Issue #352
Short question, and a short answer: ToListAsync - but why?
-
Build a Social Media Commander app with Agent Instructions using GitHub Copilot | MVP Unplugged
youtube.com Issue #352
Host Justin Garrett, Microsoft Principal Customer Experience Program Manager, connects with Microsoft MVP Jeremy Sinclair to dive into Jeremy’s passion project: Social Media Commander—a cross-platform...
-
LINQ in Real Projects: 7 Patterns Every C# Developer Should Know
towardsdev.com Issue #352
Most developers only use LINQ for .Where() and .Select(). Continue reading on Towards Dev »
-
Creating a .NET CLR profiler using C# and NativeAOT with Silhouette
andrewlock.net Issue #352
In this post I look at how to create a simple .NET profiler. But instead of using C++, the profiler uses C# and NativeAOT with the Silhouette library
-
We Let Cursor Write Our .NET Code. Then “Stupid Bugs” Exploded — Here’s the Fix
medium.com Issue #351
Last month we did what everyone is doing in 2025:
-
C# Access Modifiers: Private, Protected, Internal, Public
medium.com Issue #351
Neyi, kimden, ne kadar gizliyoruz? Gerçek OOP tasarımının temelinde bu soru yatar.
-
Modern Software Development with C# in 2026: What’s New in .NET 9 and Best Practices
medium.com Issue #351
As we step into 2026, C# continues to stand as one of the most reliable, scalable, and developer-friendly programming languages in the…
-
Events & EventHandlers — How .NET Reacts Automatically (A Practical 2025 Guide)
medium.com Issue #351
If delegates are the “function pointers” of C#, events are the notification system built on top of them.
-
Resolving Overload Ambiguity with Collection Expressions
meziantou.net Issue #351
OverloadResolutionPriority allows you to specify which method overload should be preferred by the compiler when multiple overloads are applicable. This can be useful in scenarios where you have multip...
-
Polymorphism in C#: Simple Guide with Examples for Beginners
c-sharpcorner.com Issue #351
Explore C# polymorphism: static (compile-time) and dynamic (run-time). Learn function/operator overloading, abstract classes, method overriding, and interfaces. Enhance code reusability!
-
-
C# Switch Statement: A Complete Guide for Beginners
medium.com Issue #351
Are you tired of writing endless if-else statements in your C# code? The switch statement is your answer! In this guide, you’ll learn how…
-
Automate Word Chart Creation Using C#
medium.com Issue #351
Generating reports and visualizing data are crucial tasks in many business applications. While Microsoft Word is a ubiquitous tool for…
-
Learn Data Types in C#
c-sharpcorner.com Issue #350
This article provides a complete and descriptive guide to data types in C#. It explains value types, reference types, nullable types, numeric types, boolean, character types, strings, records, arrays,...
-
Extension Methods in C#: The Cleanest Way to Add Power to Your Code (2025 Guide)
medium.com Issue #350
Some features in C# feel “small” until you finally understand how they shape modern .NET design.