languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2386 articles Updated
C# work shows up across many DotNetNews issues because teams keep hitting the same implementation questions. C# is a recurring focus for C# and .NET developers working in the Microsoft ecosystem.
Recurring subtopics in recent issues include C# articles and tutorials, C# language, C# features, and C# patterns. When a subtopic never appears in the archive titles or excerpts, it is left out of this introduction.
Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for C#; the archive list is chronological and larger. Secondary angles such as C# articles and tutorials and C# language appear when the archive actually covered them. Cross-links to .NET 10 and C# Source Generators help when the problem spans more than one tag.
Each card points at the original publisher URL and the DotNetNews issue that carried it, so you can read the article in context or jump straight to the source.
Start here
Editor picks for C#
-
Factory Pattern C#
c-sharpcorner.com Issue #369
Factory Pattern basics are covered in a straightforward way for readers who want a refresher on object creation tradeoffs.
-
Partial Events and Constructors in C# 14 (.NET 10) Explained with Examples
c-sharpcorner.com Issue #365
Explore C# 14's partial events & constructors!
-
IEnumerable vs IQueryable in C# — What Every .NET Developer Should Know
medium.com Issue #236
https://medium.com/@karthikns999/ienumerable-vs-iqueryable-3643756013b4?source=rss------csharp-5.
-
Local AI + .NET = AltText Magic in One C# Script
devblogs.microsoft.com Issue #236
A fun local AI script demo that shows practical .NET + models usage.
-
Using Pattern Matching in C# for Performance Optimization
meziantou.net Issue #210
Pattern matching isn't just cleaner here; it's being used to squeeze real performance wins.
-
Use C# 14 extensions to simplify enum Parsing
meziantou.net Issue #199
Enum parsing gets a cleaner treatment here, which is exactly the sort of small improvement that adds up.
-
Why we built our startup in C#
devblogs.microsoft.com Issue #195
The startup-in-C# story is always interesting because it shows what the language buys real teams.
-
The Hidden Power of init in C# — How to Make Your Objects Immutable, But Flexible
medium.com Issue #194
The init keyword gets a focused treatment here, especially for immutable objects that still need flexibility.
Archive
Page 1 of 96
Newest first
-
-
C# basics tutorial: Learn variables, classes and lists
roundthecode.com Issue #514
Learn C# basics with this tutorial covering variables, conditionals, arrays, lists, loops, classes, structs, interfaces, enums and static classes.
-
Construct a Full Binary Tree from Preorder and Mirror Preorder Traversal
c-sharpcorner.com Issue #513
Construct a full binary tree from preorder and mirror preorder traversals. Learn the unique reconstruction method for full binary trees.
-
Day 9: The Day ASP.NET Core MVC Started Making Sense
medium.com Issue #513
Every day I spend learning C#, I notice that the language itself is only one piece of the puzzle. The more I explore, the more I realize…
-
How can you implement a copy constructor in C#?
medium.com Issue #513
A constructor that takes an instance of the same type and copies its state into the new instance
-
Top 30 .NET Interview Questions for 2+ Years Experience (With Simple Answers & Examples) — Part 2…
medium.com Issue #513
Introduction
-
C# for Beginners: Understanding Indexers How Can Our Own Classes Use [] Like Arrays?
medium.com Issue #513
One of the best parts of growing as a programmer is starting to question things you once took for granted.
-
Avoid being tripped up by older Windows locales
blog.jermdavis.dev Issue #513
I came across a fascinating bug the other day. Some code that involved parsing dates from incoming text had passed testing, but when running on a live server it failed. But not consistently - some dat...
-
C# 14 Features Every .NET Developer Should Start Using Today
c-sharpcorner.com Issue #513
Unlock C# 14's power! Discover features like extension members, collection expressions, and primary constructors to boost .NET developer productivity.
-
Demystifying the Factory Pattern in Modern C#
c-sharpcorner.com Issue #512
Master the Factory Pattern in C# to decouple object creation, enhance extensibility, and simplify testing. Avoid tight coupling with 'new'.
-
Typed Errors in C#: Building Safer Functional Code with Arrow — Part 1
medium.com Issue #512
Most application code handles failure in one of two ways:
-
Announcing v2.0 of the official MCP C# SDK
devblogs.microsoft.com Issue #512
The Model Context Protocol (MCP) C# SDK has reached v2.0, implementing the 2026-07-28 revision of the MCP specification. It's the largest revision of the protocol since it launched.
-
IQueryable vs IEnumerable in C# — The Difference Every .NET Developer Should Know
medium.com Issue #511
If you’ve worked with LINQ or Entity Framework, you’ve almost certainly seen these two interfaces:
-
I built an AI-writing detector that shows its work — and speaks Spanish
medium.com Issue #511
Most AI detectors are black boxes. You paste a paragraph, a number comes back (“87% AI”) and you’re supposed to trust it. A teacher can’t…
-
Top 10 TPL (Task Parallel Library) Interview Questions with Examples
c-sharpcorner.com Issue #511
Master TPL with top 10 interview questions & examples. Understand Tasks, async/await, Parallel.ForEach, and cancellation for .NET concurrency.
-
Enterprise AI Patterns for .NET Developers
youtube.com Issue #511
Join Bruno Capuano and Angel Hernandez for a live conversation on the latest developments in AI for .NET developers. In this episode, we'll explore practical ways to integrate AI into modern .NET appl...
-
Dependency Injection in C#: Explained Without the Confusing Jargon
medium.com Issue #511
If you’ve worked with ASP.NET Core, you’ve probably written something like this:
-
Day 6: The Bug That Changed How I Write Code
medium.com Issue #511
Today wasn’t about learning more C# keywords — it was about understanding how good software handles problems without falling apart.
-
Microsoft updates MCP C# SDK for stateless MCP - InfoWorld
infoworld.com Issue #511
Microsoft updates MCP C# SDK for stateless MCP InfoWorld
-
Day 7: From C# to ASP.NET Core
medium.com Issue #511
Today was the day I stopped learning just C# and took my first step into backend development.
-
Mastering the Chain of Responsibility Pattern in C#: From Basics to Advanced Scenarios
medium.com Issue #511
Learn how to implement the Chain of Responsibility pattern in C# with practical examples
-
Mastering Dependency Injection in ASP.NET
medium.com Issue #511
Learn Dependency Injection (DI) in ASP.NET Core Web API from scratch with practical examples, lifetime management, interfaces, service…
-
From Keywords to Meaning: Building Semantic Vector Search in .NET
rushikprajapati.medium.com Issue #511
Traditional search finds keywords. Vector Search finds meaning.
-
OpenTelemetry in Microsoft Agent Framework Apps
jesseliberty.com Issue #511
Observability has become a critical component for ensuring the performance and reliability of applications. OpenTelemetry, an open-source observability framework, provides developers with the tools ne...
-
One Tiny C# 14 Feature That Quietly Deletes an Entire if Statement
medium.com Issue #510
I can’t count how many times I’ve written code like this: