languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2703 articles Updated Page 5 of 109
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 5 of 109
Newest first
-
Calling LLMs from .NET with IChatClient: From Simple Prompts to Production Architecture
Medium - Chaudhariparesh Issue #553
Calling an LLM from a .NET application is easy.
-
.NET + AI in Production: What Actually Works (A Field Survey)
Medium - Ali Süleyman TOPUZ Issue #553
Five write-ups, one week, and the patterns that kept showing up when the hype was stripped out
-
BlogWriter Architecture Part 1
YapCast – Jesse Liberty Issue #552
In a previous blog post I promised to take apart the BlogWriter architecture and implementation. I thought today I’d start with the architecture. The original design was to have 4 agents:* BlogWriter ...
-
OOP Pillars in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta Issue #552
Encapsulation, inheritance, polymorphism, abstraction — everyone can recite the four pillars, but interviews rarely stop at definitions…
-
RAG, Explained With Football: Let’s Build a Euro 2024 Assistant That Doesn’t Make Things Up
Medium - Alparslan Parlak Issue #552
A friendly, step-by-step guide to Retrieval-Augmented Generation with .NET, Gemini and a CSV full of match stats
-
Exception Handling in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta Issue #552
Exception handling looks simple on the surface — try, catch, finally — but a handful of specific gotchas come up constantly in interviews…
-
Interfaces in C# explained
Round The Code - David Grace Issue #552
Learn how interfaces work in C#, covering contracts, polymorphism, multiple interfaces, default methods, access modifiers and static members.
-
I benchmarked my .NET MCP server on Polly. It broke six ways.
Medium - Ahmed Mustafa Issue #552
What an AI coding agent actually needs from a C# solution, and what changed once I measured instead of guessing.
-
MonoGame + C# Procedural Animations!
Medium - Matt Perley Issue #552
So I have been looking for more MonoGame based tutorials on this, a lot of them that still exist are really good, but to many XNA and…
-
23 GoF Design Patterns — Part 2: Behavioral Patterns
Medium - Pavan pitthdiya Issue #552
In [Part 1], we covered the first 12 GoF Design Patterns:
-
CancellationToken: The Parameter Everyone Adds but Nobody Wires Up
Medium - Suhasini Darade Issue #552
It’s sitting in almost every async signature in your codebase. Most of the time, it’s doing nothing.
-
23 GoF Design Patterns — Part 1: Creational and Structural Patterns
Medium - Pavan pitthdiya Issue #551
If you have been working with C# or ASP.NET Core for some time, you have probably heard terms like:
-
Methods in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta Issue #551
Method Overloading
-
Collections & LINQ in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta Issue #551
Collections and LINQ show up constantly in real coding interviews — not just as theory questions, but as actual “write this” exercises…
-
C# 15 Collection Expression Arguments: What's New vs C# 12 and 13
Laurent Kempé Issue #551
C# 15 brings a focused upgrade to collection expressions: collection expression arguments via a leading with(...) element. If you're already using C# 12 collection expressions, this addresses a common...
-
Interfaces vs Abstract Classes in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta Issue #551
Interfaces are everywhere in real ASP.NET Core code — IOrderService, ILogger, IRepository — and this topic is also where everything from…
-
Union types as a Result - how it compares
Josef Ottosson Issue #550
I compared C#'s new union types against the Result class pattern.
-
Classes & Objects in C#: What .NET Interviews Actually Ask
Medium - Anchalmehandiratta Issue #550
Classes and objects feel like the most basic topic in C# — until an interviewer starts stacking follow-up questions on top of each other…
-
Stop Writing Backing Fields for Every Property: Meet field in C# 14
Medium - Sauradipta Issue #550
C# 14 makes the journey from an auto-property to a validated property much cleaner — but that doesn’t mean every property should use field.
-
⚡ Task vs ValueTask in C#: When Should You Actually Use ValueTask?
Medium - Ravikumar Makwana Issue #550
For years, I returned Task from almost every async method. And honestly? That’s usually the right choice.
-
Closing the Loop
Rockford Lhotka's Blog Issue #550
I’ve spent a lot of time over the past year working with coding agents, and one thing has become very clear to me: the big productivity gain doesn’t come from how fast the agent can write code. It com...
-
How I use Claude Code to develop C# projects from my phone
Medium - Nils Lattek Issue #550
With Claude Code Cloud Sessions you can run Claude Code even while your Notebook is closed.
-
If It Quacks - Part 2
Steven Giesel Issue #549
Some days ago I wrote about duck-typing in C# with interceptors . Back then it was a proof-of-concept with a lot of rough edges. Now it is a real library: IfItQuacks .
-
The Tiny C# Attribute That Stops Your Stack Being Zeroed
Medium Issue #549
There is a one-line C# attribute that tells the runtime it doesn’t need to initialise your local variables to zero before a method starts…
-
Sharper .NET 8: Clean Practices & the Magic
Medium Issue #549
How a handful of small habits turn ordinary C# into code you actually enjoy reading.