languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2640 articles Updated Page 3 of 106
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 3 of 106
Newest first
-
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.
-
C# DIY Compiler with DDD and Clean Architecture
Medium Issue #549
Compiler projects are often presented as pipelines of algorithms: lexing, parsing, analysis, and code generation. Once the project grows…
-
Testing beyond your imagination: Property-based testing in C# with FsCheck
Code4IT Issue #549
Property-based testing is a powerful alternative to example-based testing. Instead of defining specific inputs and verifying their outcomes, you define properties that should always hold true. Let&rsq...
-
Threading in C#
Medium Issue #549
A deep-dive walkthrough of multithreading in C# — covering the Thread class directly, the managed thread pool, race conditions and why…
-
I’ve Written C# for 10+ Years. These Are the Fundamentals I Still Revisit.
Medium Issue #549
After more than 10 years of writing C#, I still look things up.
-
Blazor vs Vue.js: What a C# Developer Actually Notices
Medium Issue #549
Two frontends, one C# brain — what really differs, what is more alike than people admit, and what the job market says.
-
I Rebuilt C#’s DataTable: Up to 70% Less Memory, 2.9× Faster
Medium Issue #549
C#’s DataTable is shipped with .NET Framework 1.0 in 2002. It has never been rebuilt. Here is a reimagined column-oriented storage version…
-
There’s No Official Claude Agent SDK for C#. Here’s What to Use Instead
Medium Issue #548
I went looking for the C# equivalent of the Claude Agent SDK: the package Anthropic ships for Python and TypeScript that wraps Claude…
-
One Transformation, Two Worlds: Mapping Between C# and IQueryable
Medium Issue #548
Developers want named, discoverable code. Query providers want a transparent expression tree. The interesting mapping problem is how to…
-
Build an interview coach app with the GitHub Copilot SDK
Microsoft Developer Issue #548
An interview coach has to do more than ask questions. It needs to read a resume, follow up on an incomplete answer, and save enough context to give useful feedback at the end. Some of that work is con...
-
Levelling Up Unity Game Development Using MCP
Medium Issue #548
I built a .NET MCP server that lets Claude inspect and analyse my Unity project, giving me time to focus on design and gameplay, or as… Continue reading on Bootcamp »
-
Visitor Pattern in C#: acyclic, type-safe, no downcasts, no runtime checks with Visitor.NET
Medium Issue #548
Visitor becomes painful when a design gains type checks, downcasts, and boilerplate faster than it gains useful behavior. Those costs are…
-
-
Build Your Own AI Agent Harness in C#, the MafClaw Live Series
Microsoft Dev Blogs Issue #547
A few weeks ago I wrote about going from dotnet run to a Foundry Hosted Agent in three lines of C#. The feedback was great. Developers liked the deployment story, the managed infrastructure, and espec...