languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 2 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 2 of 93
Newest first
-
Modern C# Features: A Deep Dive into Records, Pattern Matching, Async, and Performance
medium.com Issue #494
A practical guide to the C# language features that have reshaped how we write .NET code — records, pattern matching, async/await…
-
From Student to Software Engineer: What I Wish I Knew Before Learning DotNet
medium.com Issue #494
Most people don’t struggle with learning DotNet because it’s difficult. They struggle because they learn it in the wrong order.
-
Async/Await Pitfalls in C#: The Bugs That Compile Fine and Break in Production
c-sharpcorner.com Issue #494
Master C# async/await: Avoid hidden bugs like async void, deadlocks, and forgotten awaits that compile but break in production.
-
Exploring C# 15: Union Types, Collection Expressions, and Closed Hierarchies
c-sharpcorner.com Issue #494
Explore C# 15's Union Types, Closed Hierarchies, and Collection Expressions for enhanced type safety and code readability.
-
Encapsulate LINQ with Extension Methods
medium.com Issue #493
LINQ is powerful and makes life easier for us developers. However, LINQ queries can unfortunately create significant coupling to the…
-
I Taught Claude Code to Stop Breaking My .NET Projects
medium.com Issue #493
How a small plugin called DotnetPilot turned “AI wrote code that compiles” into “AI wrote code that actually belongs in a .NET solution”
-
The IDisposable and using Truth Most of Us Missed in C#
medium.com Issue #493
We all write using every day. Very few of us stop to think about what it actually does.
-
12 C# OOP Concepts Every .NET Developer Must Know
medium.com Issue #493
When developers begin learning C#, one of the first things they hear is:
-
DRY Principle in C#: Don't Repeat Yourself - A Practical Guide With Real Code Examples
c-sharpcorner.com Issue #493
Master the DRY principle in C#: avoid duplicating knowledge, not just code. Learn practical examples and common pitfalls for robust software.
-
params IEnumerable : The Upgrade to params You Didn’t Know You Needed
medium.com Issue #492
The Old Constraint
-
Specification Pattern in C#
ngcheehou.medium.com Issue #492
Imagine you are a developer responsible for maintaining an HR employee portal. This is the Employee class:
-
Extension Members in C# 14: The Feature That’ll Start the Next “Is This Clean Code?” War
medium.com Issue #492
It lets you bolt a property onto a type you don’t own. Half my team called it elegant. The other half called it cursed. They’re both right.
-
I Deleted AutoMapper a Year Before It Went Commercial. Here’s the Bug That Made Me Do It.
medium.com Issue #492
A NullReferenceException, 14 frames deep into a library I’d never opened. The actual bug was one missing line.
-
LINQ in C#: The Complete Beginner’s Guide with Practical Examples (Part 1)
medium.com Issue #492
Learn LINQ from scratch with real-world examples and understand why it’s one of the most powerful features in C#.
-
PuppeteerSharp C# PDF: The Hidden Ops Cost (2026 Guide) - HackerNoon
hackernoon.com Issue #491
PuppeteerSharp C# PDF: The Hidden Ops Cost (2026 Guide) HackerNoon
-
How to Reorder Excel Columns in C# (No Office Required)
medium.com Issue #491
Are you a C# developer looking for a reliable way to automate Excel column reordering without installing Microsoft Excel? Whether you are…
-
7 C# Mistakes Beginners Make (And How to Avoid Them)
medium.com Issue #491
If you’re learning C#, you’ve probably written code that works — but not always in the best way.
-
…
medium.com Issue #491
A good code review is about more than finding bugs — it’s about improving code quality, maintainability, and collaboration.
-
Building an Invoice Automation Pipeline in C# with the Iron Suite
albertassaad.medium.com Issue #491
Read a spreadsheet, generate styled PDF invoices, put a “Pay Now” QR code on each one, and bundle the whole month into a single ZIP.
-
Why .ToList() Changes Everything in Your LINQ Queries
medium.com Issue #490
If you are working with C# and .NET, you probably use LINQ every day. You drop a .ToList() at the end of your query to fix a type mismatch…
-
.NET R&D Digest (June, 2026)
olegkarasik.wordpress.com Issue #490
This issue includes bits of AI, software development, C++, C#, diagnostics, architecture and of course .NET and .NET Internals.
-
LINQ in C#: All(), Any(), and Contains() [Interview Questions]
medium.com Issue #490
These methods look simple, but they frequently expose gaps in understanding quantifiers, domain intent, and edge cases — especially empty…
-
Closed class hierarchies: Exploring the .NET 11 preview - Part 4
andrewlock.net Issue #490
In this post I describe what a close closed hierarchy is, how to create one, and discuss why you might want to
-
GitHub Copilot Generated Our .NET Tests. It Missed What Mattered Most
medium.com Issue #489
There has been plenty of discussion recently about AI replacing parts of software testing, so we decided to see how far we could actually…
-
Microsoft’s Another Agent Framework
mareks-082.medium.com Issue #489
Given that there have been a few years of Cambrian explosion of agent frameworks, I’d be surprised if Microsoft didn’t have one. In fact…