languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2424 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 97
Newest first
-
Implementing AI Memory in .NET Applications Using Semantic Kernel
c-sharpcorner.com Issue #519
Unlock AI memory in .NET with Semantic Kernel. Learn about types, stores, and best practices for context-aware applications.
-
Mastering Async Concurrency in Enterprise AI: gather vs as_completed vs TaskGroup in LangGraph
c-sharpcorner.com Issue #519
Master async Python for enterprise AI: gather, as_completed, TaskGroup in LangGraph for efficient ML inference and multi-agent concurrency.
-
Is Async/Await Killing Your App’s Performance?
medium.com Issue #519
For a long time, I used async and await under the assumption that they were a 'magic button' to make my code faster. Continue reading on Deloitte UK Engineering Blog »
-
The Boolean Trick No C# Developer Knows About
youtube.com Issue #519
Learn PostgreSQL for Free at Dometrain: https://dometrain.com/course/hands-on-learn-postgresql/?ref=nick-chapsas&promo=youtube Hello, everybody. I'm Nick, and in this video, I will introduce you to th...
-
Designing High-Throughput File Processing Pipelines with .NET Channels
c-sharpcorner.com Issue #519
Design scalable .NET file processing pipelines with Channels. Learn producer-consumer, backpressure, and error handling for high throughput.
-
Stop Confusing Value Types and Reference Types in C#: Learn It Once and Never Forget It
ajax-workspace.medium.com Issue #519
Introduction
-
Scaling Business Logic with Rules Engines
blog.xeynergy.com Issue #518
Moving Beyond Complex If/Else Logic with NRules and .NET Continue reading on Xeynergy Blog »
-
Formalizing LLM Orchestration: A Deterministic Finite Automaton Engine via .NET
medium.com Issue #518
Abstract
-
Azure Event Grid and Event Hubs in .NET: When to Use Each
medium.com Issue #518
Azure offers three services with similar names but very different roles: Service Bus, Event Hubs, and Event Grid. Continue reading on CodeX »
-
Back to Basics: What String Concatenation Taught Me About Memory in C#
medium.com Issue #518
Today, I went back to the basics. Nothing fancy. No advanced features. No design patterns. Just strings in C# and I’m glad I did.
-
20 LINQ Methods Every C# Developer Should Know (With Simple Examples)
medium.com Issue #518
If you’re a C# developer, you’ve probably used LINQ dozens of times. But are you making the most of it?
-
Diving in OOP (Polymorphism and Inheritance – Part 1)
c-sharpcorner.com Issue #518
Master C# method overloading and the params keyword in this hands-on OOP guide. Learn compile-time polymorphism with practical code examples.
-
Adding a Clone method to a C# record
meziantou.net Issue #518
Adding a Clone method to a C# record When using records, creating a copy with with is concise: var sample = new Sample("meziantou"); _ = sample with { }; public record Sample(string Value); This works...
-
Value Types vs Reference Types in C#: The Concept Every .NET Developer Must Master
c-sharpcorner.com Issue #518
Master C# Value vs. Reference Types: Understand data storage, copying, and memory management for efficient .NET development.
-
15 Advanced C# Mistakes You’re Probably Still Making
truestorydavestorey.medium.com Issue #518
Writing high-performance, robust C# requires moving beyond entry-level pitfalls like simple null checks or missing using statements. As…
-
Convert DOCX to PDF in C#: 5 Methods Compared in 2026 - HackerNoon
hackernoon.com Issue #517
Convert DOCX to PDF in C#: 5 Methods Compared in 2026 HackerNoon
-
Understanding Builder Design Pattern in .NET
yogeshhadiya33.medium.com Issue #517
Object creation is one of the most common tasks in any application. For simple classes, a constructor is usually enough to initialize the…
-
Covariance and Contravariance in C#: The Simplest Guide Every .NET Developer Should Read
medium.com Issue #517
Learn Covariance (out) and Contravariance (in) in C# with real-world examples, simple diagrams, interview questions, and practical use…
-
Adding static getter thanks to extensions
steven-giesel.com Issue #517
Here a simple scenario: You have a StringComparer and you want to add your own comparer to the mix - for example a "natural sort" order, so "file2" sorts before "file10" instead of after. With C# 14 w...
-
Building Multi-Agent AI Systems in C# Using Microsoft Semantic Kernel
c-sharpcorner.com Issue #517
Build modular, scalable multi-agent AI systems in C# with Microsoft Semantic Kernel for complex business workflows.
-
Beyond Chat: live Speech-to-Text with Foundry Local and C#
devblogs.microsoft.com Issue #517
A year ago, I wrote a .NET Blog post about running GPT-OSS locally with Ollama and C#. That sample used IChatClient from Microsoft.Extensions.AI to build one of the most familiar Local AI scenarios: a...
-
Building Enterprise Knowledge Graphs for AI Agents Using Neo4j and C#
c-sharpcorner.com Issue #517
Build enterprise AI agents with Neo4j and C#. Learn to model relationships, integrate with ASP.NET Core, and enhance LLM reasoning.
-
LINQ Query Structure: Base, Metric, Projection
medium.com Issue #517
In .NET queries and reporting, many teams prefer to use LINQ instead of raw SQL because of the many features LINQ provides. However, LINQ…
-
How async, await and Task are related in C#?
c-sharpcorner.com Issue #517
Understand how async, await, and Task in C# work together for non-blocking, efficient asynchronous operations, improving scalability and responsiveness.