languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2466 articles Updated Page 34 of 99
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 34 of 99
Newest first
-
C# 14: From Helper Classes to First-Class APIs
c-sharpcorner.com Issue #357
C# 14 extension members introduce extension properties, operators, and static members. Learn how they transform helper classes into first-class APIs and enable modern, expressive, and binary-safe .NET...
-
From Spec to Santa: My C#‑Powered Christmas Story Generator Experiment
techwatching.dev Issue #356
In this article, I will explain how I built a website to generate Christmas Stories my almost 5-year-old daughter using C# and AI related technologies (GitHub Spec Kit, GitHub Copilot, Microsoft.Exten...
-
Async Isn’t Magic
medium.com Issue #356
It’s basically state machines, logical flows, and a little AsyncLocal.
-
[C# Tip] How to create and access custom C# Attributes by using Reflection
code4it.dev Issue #355
In C#, Attributes are a handy mechanism to attach metadata to your classes, methods, properties, etc. In this article, we will see how to create custom Attributes and access them at runtime using Refl...
-
Creating Objects Without a Model in C#
c-sharpcorner.com Issue #355
Creating Objects Without a Model in C#
-
1 Simple Trick to Make Your C# Enums Smarter (And Why You’ll Never Go Back)
medium.com Issue #355
Let’s be honest — C# enums are kind of like that one friend who shows up to the party but never says anything. They’re nice to have around…
-
C# Tuple: Organizing Multiple Business Data Points for Clear Insights
medium.com Issue #355
Introduction
-
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.