languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2466 articles Updated Page 7 of 99
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 7 of 99
Newest first
-
Beyond the Basics: 5 Switch Expression Patterns Every C# Developer Should Know
medium.com Issue #500
Think you’ve mastered switch expressions? These five patterns will help you write cleaner, safer, and more maintainable C# code. Continue reading on C# Snaps: Sharp Bites for Better Code »
-
Dependency Injection in .NET Explained Like You’re Building a Restaurant
medium.com Issue #500
One of the most important concepts in .NET — explained with a simple real-world analogy.
-
Building a Console-Based Vehicle Rental Management System Using N-Layer Architecture in C# and EF Core
c-sharpcorner.com Issue #500
Learn C# data management with Entity Framework Core. Set up connections, manage entities, and implement data operations for your applications.
-
Building Your First MCP Server in C#: A 2026 Field Guide
medium.com Issue #498
If you’ve touched an AI coding tool in the last year, you’ve probably run into the Model Context Protocol (MCP) even if nobody called it…
-
C# PDF Libraries: What 'Free' Really Costs You (2026 Guide) - HackerNoon
hackernoon.com Issue #498
C# PDF Libraries: What 'Free' Really Costs You (2026 Guide) HackerNoon
-
Delegates and Event in .Net (Understand in 5min)
medium.com Issue #498
Many .NET developers learn about Delegates and Events, yet struggle to explain their practical applications in real projects. Instead of…
-
Delegates in C# Explained with Simple and Real Project Examples
c-sharpcorner.com Issue #497
Master C# delegates! Learn how they decouple code, enable callbacks, and power ASP.NET Core, LINQ, and events with simple examples.
-
IQueryable vs IEnumerable: The Mistake That Loads Your Whole Table
medium.com Issue #497
You wrote a clean LINQ query. It filters down to ten rows. It runs fine in dev, and then in production it’s slow and your database CPU is…
-
What I wish I knew 10 years ago when I started with C#
medium.com Issue #496
A 3-step roadmap to avoid getting lost in the chaos of modern frameworks, and what the senior community has to say about it.
-
Bypassing the .NET GC: How I Hit 2.3 Million OPS With a C#-Native Embedded Database
medium.com Issue #496
DataVo v0.1 Alpha: an open-source, zero-allocation SQL + vector engine that runs in-process, no native extensions required.
-
Extension Methods: Why They Exist and How They Evolved
medium.com Issue #496
Core definition
-
The Complete .NET 11 Developers Guide to the Agentic Web Part 2
medium.com Issue #495
We’re going to pick up from part 1 and delve into the Microsoft Agent Framework. Continue reading on Data Science Collective »
-
Agent Skills for .NET Is Now Released
devblogs.microsoft.com Issue #495
You can now give your .NET agents reusable packages of domain expertise - instructions, reference documents, and scripts they load only when a task needs them - through a stable, production-ready API....
-
AWS Bedrock with .NET: Cost Tracking via Inference Profiles
medium.com Issue #495
The Problem: Your AI Bill Grew, But You Cannot Explain It
-
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”