languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2466 articles Updated Page 5 of 99
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 5 of 99
Newest first
-
Mastering the Chain of Responsibility Pattern in C#: From Basics to Advanced Scenarios
medium.com Issue #511
Learn how to implement the Chain of Responsibility pattern in C# with practical examples
-
Mastering Dependency Injection in ASP.NET
medium.com Issue #511
Learn Dependency Injection (DI) in ASP.NET Core Web API from scratch with practical examples, lifetime management, interfaces, service…
-
From Keywords to Meaning: Building Semantic Vector Search in .NET
rushikprajapati.medium.com Issue #511
Traditional search finds keywords. Vector Search finds meaning.
-
OpenTelemetry in Microsoft Agent Framework Apps
jesseliberty.com Issue #511
Observability has become a critical component for ensuring the performance and reliability of applications. OpenTelemetry, an open-source observability framework, provides developers with the tools ne...
-
One Tiny C# 14 Feature That Quietly Deletes an Entire if Statement
medium.com Issue #510
I can’t count how many times I’ve written code like this:
-
-
Mastering Extension Methods in C#: Clean Up Your ASP.NET Core Controllers
medium.com Issue #509
When building ASP.NET Core Web APIs, developers often struggle with controller bloat. Controllers can become cluttered with repeated…
-
The Secret Behind .NET Performance: Understanding Garbage Collection Generations (Gen 0, Gen 1 & Gen 2) in C#
c-sharpcorner.com Issue #509
Unlock .NET performance secrets! Understand Garbage Collection generations (Gen 0, Gen 1, Gen 2) and how they optimize memory management in C#.
-
Day 5: Understanding the ‘Why’ Behind C# Features
medium.com Issue #509
Today wasn’t about learning more syntax — it was about understanding why C# is designed the way it is.
-
Domain-Driven Design in C#: A Practical Guide to DDD in .NET
medium.com Issue #509
Learn how to implement Domain-Driven Design in C# and .NET using Entities, Value Objects, Aggregates, Domain Events, Repositories, and…
-
Thread-Safe Collections in C#: Why Dictionary Can Break Under Parallel Execution
medium.com Issue #509
List and Dictionary are probably the collections we use the most in C#.
-
Reduce C# Memory Usage 50x: IAsyncEnumerable Guide
medium.com Issue #509
How switching from ToListAsync() to IAsyncEnumerable cut peak memory 50x in a .NET
-
C# Task Parallel Library (TPL) overview
medium.com Issue #509
TPL is Microsoft’s framework for writing parallel and asynchronous code in .NET. It lives in System.Threading.Tasks and is the foundation…
-
C# 14 New Features Explained with Practical Examples
c-sharpcorner.com Issue #508
Explore C# 14's new features: Extension Members, Collection Expressions, Pattern Matching, Primary Constructors, Null Safety, and .NET integration.
-
C# Union Types Explained: What's New in .NET 11 and When to Use Them
c-sharpcorner.com Issue #508
Explore C# Union Types in .NET 11! Learn how they simplify handling multiple outcomes, improve type safety, and lead to cleaner, more maintainable code.
-
Top 30 .NET Interview Questions for 2+ Years Experience (With Simple Answers & Examples) — Part 1…
medium.com Issue #508
Preparing for a .NET interview can be overwhelming, especially when there are hundreds of concepts to learn.
-
Garbage Collection in C#: How .NET Automatically Manages Memory
c-sharpcorner.com Issue #507
Learn how .NET's Garbage Collection automatically manages C# memory, preventing leaks and improving app reliability by reclaiming unused objects.
-
Advanced LINQ Performance: Hidden Costs Every C# Developer Should Know
c-sharpcorner.com Issue #507
Unlock LINQ's power in C#! Discover hidden performance costs and learn practical techniques for efficient, production-ready code.
-
Delete AutoMapper: explicit, compile-time DTO mapping that you can actually test
medium.com Issue #507
Reflection-based mappers feel like they save you work until the day a renamed property silently maps to null in production. Here is the…
-
What is the ICloneable interface and how is it used?
medium.com Issue #507
ICloneable is a built-in .NET interface with a single method object Clone();
-
C# 14 Union Types with Practical Examples
c-sharpcorner.com Issue #507
Explore C# 14 Union Types: a powerful feature for cleaner, type-safe code. Learn practical examples and benefits over traditional approaches.
-
Write Better C# with These 15 Productivity Tricks
medium.com Issue #507
As C# continues to evolve, it introduces features that make code cleaner, more expressive, and easier to maintain. Whether you’re a…
-
LINQ in C#: The Complete Beginner’s Guide with Practical Examples (Part 3)
medium.com Issue #507
Understanding OrderBy(), OrderByDescending(), ThenBy(), Reverse(), Select(), and SelectMany()
-
Machine Learning with ML.NET: Two Practical Series
medium.com Issue #506
Over the past few weeks, I’ve published two article series about Machine Learning with ML.NET, exploring practical AI applications within… Continue reading on .Net Programming »
-
Check if an Array Can Represent Preorder Traversal of a BST
c-sharpcorner.com Issue #506
Learn how to validate if an array represents a BST's preorder traversal using a stack and lower bound logic. Efficient O(n) solution.