languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2552 articles Updated Page 10 of 103
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 10 of 103
Newest first
-
Building a Database in a Text File — Why Async Is Not Enough
medium.com Issue #503
The Idea Behind This Series
-
How do you design immutable classes in C#?
medium.com Issue #503
Designing immutable classes in C# means creating objects whose state can’t change after construction
-
Understanding Garbage Collector and Finalizers in C#
wiemksaier.medium.com Issue #503
When we write code in C#, we create objects all the time.
-
IEnumerable vs IQueryable: Ask this question first
medium.com Issue #502
While searching differences between IEnumerable vs IQueryable, we generally find below explanation : Continue reading on Women in Technology »
-
Your Try-Catch Blocks Are Lying to You
medium.com Issue #502
Exceptions aren’t free, and neither is treating every failure like one. Here’s how I split the two, and where I draw the line.
-
Concat Costs
medium.com Issue #501
String concatenation with + is fine for one line, but in loops or dynamic UI it forces the garbage collector to work overtime…
-
The C# 14 field Keyword Looks Like Free Cleanup. It Can Still Break Your EF Core Mapping
c-sharpcorner.com Issue #501
C# 14 field keyword can break EF Core backing-field mapping and reflection code. Learn the risk and how to check your codebase first.
-
LINQ in C#: Skip(), SkipWhile(), Take(), and TakeWhile() More Than Just Paging Defining Domain…
medium.com Issue #501
Paging, Windows, and Domain Boundaries
-
ML.NET — Machine Learning Without Leaving .NET
medium.com Issue #500
Most .NET developers I’ve spoken to hit the same wall. The project needs something predictive — maybe flagging bad input, maybe ranking…
-
Building AI Workflows with Semantic Kernel Process Framework in .NET
c-sharpcorner.com Issue #500
Build structured AI workflows in .NET with Semantic Kernel's Process Framework. Orchestrate AI, logic, tools, and human interaction for complex applications.
-
C# Tip: Use required members to prevent invalid object initialization (beware of SetsRequiredMembers attribute!)
code4it.dev Issue #500
Learn how to use required members in C# to enforce complete object initialization at compile time and avoid half-configured models. And beware of the SetsRequiredMembers attribute, which can be danger...
-
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