languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2552 articles Updated Page 11 of 103
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 11 of 103
Newest first
-
Microsoft Agent Framework for .NET (part 1): what it is, how it works, and when to use it
code4it.dev Issue #495
Microsoft Agent Framework is Microsoft’s production-oriented framework for building AI agents and multi-agent workflows in .NET and Python. Let’s see how it works, why Microsoft created it...
-
Full-stack static typing with OpenAPI TypeScript and Microsoft.AspNetCore.OpenApi
johnnyreilly.com Issue #494
This post will show you how to write full stack applications with static typing from back to front using OpenAPI, TypeScript and .NET.
-
Building a Flexible C# Rules Engine: Design Patterns and Best Practices
snehasishkonger.medium.com Issue #494
Most teams end up here for one of two reasons. Either there’s already a big C#/.NET codebase and someone’s tired of if-else logic bleeding…
-
Heap vs Stack in C#: The Biggest Misconception Every Beginner Learns
wiemksaier.medium.com Issue #494
If you’ve been learning C#, you’ve probably heard this:
-
-
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…