C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 45 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 45 of 94
Newest first
-
Readonly vs Const in C#: The Hidden Performance Trap Nobody Warned You About
medium.com Issue #296
Discover how a small keyword choice can silently slow down your .NET code — and the smarter way to use them for cleaner, faster…
-
Go vs. C#: Which Language Uses Memory More Efficiently?
medium.com Issue #296
Go and C# developers both like to claim that their language is more memory efficient. But which one really has the edge?
-
Top C# Best Practices Every Web Developer Should Know
shahedbd.medium.com Issue #296
As a web developer working with C# and ASP.NET Core, you’ve likely encountered codebases that range from beautifully crafted to downright…
-
Smart Dependency Injection in .NET with Custom Attributes
c-sharpcorner.com Issue #296
Simplify .NET dependency injection with custom attributes! Automate service registration by defining injection scopes directly on interfaces. This approach reduces boilerplate code, enhances maintaina...
-
The New Standard for AI in.NET: A Deep Dive into Microsoft.Extensions.AI
medium.com Issue #295
How to Implement API Versioning in .NET Core Web APIs: Best Practices and Migration Guide
-
Building Extensible .NET Applications with Plugin Architectures
c-sharpcorner.com Issue #295
Unlock the power of extensible .NET applications with plugin architectures! Learn how to build flexible systems that adapt to evolving business needs using reflection, MEF, and dependency injection. D...
-
-
C# Channels Demystified: Stop Fighting Threads and Start Writing Cleaner Code
blog.stackademic.com Issue #295
Part 1 in a beginner-friendly guide to thread-safe async messaging in .NET Continue reading on Stackademic »
-
Null-Conditional Assignment in C# 14
c-sharpcorner.com Issue #295
C# 14 introduces null-conditional assignment (?.=), a syntactic sugar that simplifies null checks before assignments. This feature reduces boilerplate code, enhances readability, and aligns assignment...
-
Expression Trees in C#: Building Dynamic LINQ Queries at Runtime
blog.elmah.io Issue #295
Tired of endless if-else blocks just to build queries? What if your LINQ queries could write themselves at runtime? Today, we will unfold expression trees, which can be used to create dynamic queries ...
-
.NET 10 Features I Can’t Wait to Use
medium.com Issue #295
C# 14 is bringing a wave of subtle yet powerful improvements designed to boost developer productivity, improve code readability, and…
-
From Assemblies to Objects: Demystifying .NET’s Core Building Blocks
medium.com Issue #294
Refined Topics
-
⚡ CancellationToken: .NET’s Most Overlooked Superpower
medium.com Issue #294
Imagine this: your .NET web API starts a heavy data-processing task. Then the user closes their browser or the request times out…
-
Indexers in C#: Performance comparison & internals
medium.com Issue #294
Hello. In this article let’s take a look at indexers in different popular types. We’ll examine assembly language code for these indexers…
-
global:: in C# — Shielding against collisions and modern best practices
medium.com Issue #294
How to use global:: to avoid namespace conflicts, improve code generation, and keep your .NET 8/9 codebase consistent.
-
Leverage string interpolation in C#
medium.com Issue #294
Introduced with C# 6 in 2015, string interpolation got a complete overhaul with C# 10. Instead of being a fancy wrapper around…
-
Asynchronous Programming in C# with async/await
medium.com Issue #293
My Journey into Building Non-Blocking Applications. Continue reading on .Net Programming »
-
Async Disposal in C#: When and How to Use IAsyncDisposable
medium.com Issue #293
Discover the key use cases of IAsyncDisposable in modern C# and how it improves async workflows.
-
7 C# Features You’re Underutilizing
medium.com Issue #293
Are you writing C# like it’s still 2010? The language has evolved a lot, and if you’re not using some of its more modern features, you’re… Continue reading on Works On My Machine »
-
The Complete Guide to C# Performance Optimization: Doing More with Less
levelup.gitconnected.com Issue #293
Here’s a practical, no-fluff guide you can hand to senior .NET teams. Think of it as the briefing I’d give an internal product group at… Continue reading on Level Up Coding »
-
C# Channels Uncovered: Bounded, Unbounded, and How to Pick the Right One
medium.com Issue #293
Part 2 in a beginner-friendly guide to thread-safe async messaging in .NET
-
🚀 Unlocking C# 14 Extension Members: The Future of Extending Types
c-sharpcorner.com Issue #293
Unlock the power of C# 14 extension members! This article explores how to extend existing types with properties, static methods, and more, going beyond traditional extension methods. Discover the new ...
-
The Builder Pattern in .NET C#: From Complex Constructors to Fluent APIs (2025)
levelup.gitconnected.com Issue #292
Master Pattern Builder in .NET C#: Evolution from complex constructors to modern fluent APIs with practical examples. Continue reading on Level Up Coding »
-
Stop Ignoring Options: 5 Cleaner and Safer Configurations in .NET
blog.stackademic.com Issue #292
Small .NET features, big impact, master configuration, runtime switches, and testable time without headaches. Continue reading on Stackademic »
-
C# 12 Features I Actually Use in Production (and Which Ones I Ignore)
medium.com Issue #292
A practical look at what stuck and what stayed on the shelf Continue reading on .Net Programming »