C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 12 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 12 of 94
Newest first
-
C# Traps & Edge Cases — Part 1: From Basics Through Async
medium.com Issue #450
This article is Part 1 of a two-part series. It covers Sections 1–7 (types through async/Task). Part 2 continues with OOP, generics…
-
C# / .NET Performance: Why Is It Slow 'Here' and What Should You Optimize First?
pietschsoft.com Issue #449
You open a profiler, squint at the code, and ask: “Why is this slow?” Before you even finish the thought, someone — or an AI assistant — suggests switching from List<T> to Span<T>, or inlining a...
-
C# / .NET: The Cleanest Way to Introduce a New Cross-Cutting Concern
pietschsoft.com Issue #449
Logging, validation, caching, retries, authorization, telemetry, auditing. Every non-trivial .NET application accumulates cross-cutting concerns — behavior that applies broadly but doesn’t belong in t...
-
Inside Multithreading: Memory Layout and Kernel Execution
medium.com Issue #449
Kernel Executing Code — Why Page faults, TLB Mises, False Sharing
-
Scaling Background Jobs in .NET: How We Tuned Hangfire Workers for High-Load Processing
medium.com Issue #449
In modern .NET applications, background job processing plays a key role in handling long-running tasks such as document processing, email…
-
Stop Guessing How .NET Manages Memory
medium.com Issue #449
A practical guide to Stack, Heap, Garbage Collection, generations, SOH, LOH, and why your app might throw OutOfMemoryException even when…
-
Managed vs Unmanaged Code: Why it matters in .NET development
alimumtaz205.medium.com Issue #449
Ever wondered why you do not have to worry about memory leaks in C# most of the time, while a C++ developer has to spend a lot of time…
-
Kafka Consumer Group Pattern in .NET: A Simple Guide with a Real-World Example
malshikay.medium.com Issue #449
When building applications with Apache Kafka, one of the most powerful patterns is the Consumer Group Pattern.
-
Dependency Injection in C# — Complete Guide with Real Examples (Constructor + Setter + Method)
medium.com Issue #449
If you’re building scalable .NET applications, Dependency Injection (DI) is not optional — it’s foundational.
-
.NET Threads, Tasks & async/await — What Actually Happens Under the Hood
wiemksaier.medium.com Issue #449
Most developers use async/await daily.
-
A Semantic Kernel Alternative for .NET — When and Why You’d Reach for One
medium.com Issue #448
If you’re building an AI feature in .NET in 2026, the first framework you hear about is Microsoft Semantic Kernel. It’s well-funded…
-
Common Async/Await Bug in C# (That Only Shows Up in Production)
medium.com Issue #448
The Async/Await Bug That Took Down Our API (And Why Local Tests Didn’t Catch It)
-
You’re Copying Data in C# Without Knowing It (And It’s Costing You 35% Performance)
medium.com Issue #448
(And it’s silently killing your performance)
-
How to Collaborate in C#: Cooperative Programming Techniques for Modern .NET Teams
medium.com Issue #448
If you’re working in any sizable .NET project, you’ve probably heard someone ask, “How do we collaborate?” — as in, how do we coordinate…
-
Getters in C#: The Essential Guide for Modern .NET Developers
medium.com Issue #448
If you’ve been searching for clear answers on property getters in C# and .NET, you’re not alone. Maybe you’re looking for a deep dive into…
-
LINQ Looks Clean Until You Care About Performance
medium.com Issue #448
LINQ is great. Until it isn’t.
-
Your Program Is Living a Lie About Memory
medium.com Issue #448
Everything you think you know about how your process uses RAM is mediated by a beautifully crafted illusion — Virtual Memory.
-
I Rebuilt nanoGPT in C# So .NET Developers Can Understand LLMs
medium.com Issue #447
This article looks at the nanoGPT repo and follows on my previous article, how to build an LLM in C# by using TorchSharp to build a GPT. Continue reading on Data Science Collective »
-
How I accidentally made the fastest C# CSV parser
csharpdigest.net Issue #447
a fast CSV parser can locate field boundaries in one pass
-
Value Types vs Reference Types in C#: What Finally Made It Click
medium.com Issue #447
I had used value types and reference types for a long time, but I didn’t really understand what the difference actually meant in real code.
-
Building File-Based Apps in .NET: A Complete Guide With Multi-File Support
antondevtips.com Issue #446
Learn how to build file-based apps in .NET 10 and .NET 11 Preview 3. This guide covers single-file C# scripts, multi-file apps with the #:include directive, including SDK, including project files and
-
Difference Between ref and out Parameters in C# with Examples?
c-sharpcorner.com Issue #446
Unlock the power of ref and out parameters in C#! Master passing arguments by reference, modifying existing values with ref, and returning multiple values with out. Enhance your C# coding skills!
-
String vs JSON vs Object in .NET — Why Beginners Get Confused
medium.com Issue #446
When I started working with APIs in .NET, this was one of the most confusing things:
-
C# Dotnet collection internals — List
medium.com Issue #445
Its essentially a dynamic array wrapper implented in managed code.
-
IEnumerable vs IQueryable
rohitsakhare.medium.com Issue #445
The Difference That Decides Where Your Query Runs