languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2640 articles Updated Page 2 of 106
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 2 of 106
Newest first
-
C# 14 Quietly Broke Our EF Core Queries, and array.Contains() Was the Culprit
Medium - Owais Issue #555
Nobody touched the code. We changed , and a query that had worked for years started throwing an exception that named…
-
Running NVIDIA Nemotron 3 Diarization on a Windows CPU — with .NET and Japanese Audio
Medium - Kensaku Kuboya Issue #555
A 193-second Japanese conversation diarized in 9.9 seconds on a 2018 office PC, with a C# P/Invoke bridge and listening-based quality…
-
C# Beyond Syntax: 10 Concepts to Understand What Your Code Does
Medium - Asaph Fernandes Issue #555
A visual overview of behavior, execution, and resources in C# and .NET, with small examples and explicit boundaries.
-
When working with Win32 FILETIME , don't forget that you have std::chrono now
Microsoft Dev Blogs - Raymond Chen Issue #554
Some time ago, I was looking at a pull request, and saw that the code was manually calculating the "number of minutes since the last change" by doing annoying math. static const DWORD c_TicksPerSecond...
-
The “Captive Dependency” Trap: Understanding .NET DI Lifetimes
Medium - Satyam Pushkar Issue #554
In modern .NET applications, Dependency Injection (DI) is the backbone of clean, maintainable architecture. We rely on the built-in IoC…
-
Creating a memory dump in C#
Microsoft Dev Blogs - Aaron Powell Issue #554
When applications crash in production, how much do we actually know about what happened? And more importantly, how easy is it to debug what happened so that we can fix the bug? Let's learn how easy it...
-
Top 10 Unexpected NuGet Packages for .NET Developers
Medium - StepOne Issue #554
The NuGet packages that save the most time are often not general-purpose frameworks.
-
Humanizer in .NET: Turn Strings, Dates, and Numbers Into Human-Friendly Text
Medium - Anton Martyniuk Issue #554
Software stores data the way machines like it. Users want to read it the way humans like it. Continue reading on CodeX »
-
Value Types Don’t Always Live on the Stack
Medium - Sudip Parajuli Issue #554
Lifetime and sharing decide the answer, not whether it’s a struct or a class.
-
How I Built a Programming Language in C#: HydraScript
Medium - StepOne Issue #553
Most backend developers spend more time moving JSON than designing languages. I wanted a project that forced me below the framework layer…
-
I Replaced a $120/Year SaaS With My Own App
Milan's .NET Weekly - [email protected] (Milan Jovanović) Issue #553
I paid $120 a year for a transcription tool until a coding agent helped me get my own version running in under an hour.
-
Memory-MCP: Extracting Text from PDFs Without Breaking Reading Order with PdfPig
Medium - ENTANGO Issue #553
The easy part of handling a PDF in an AI memory pipeline is opening the file. The hard part is getting text an LLM can actually reason…
-
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