languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 45 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 45 of 93
Newest first
-
⚡ 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 »
-
The Ultimate Beginner’s Guide to 6 Hidden C# Features
medium.com Issue #292
Boost your skills with these under-the-radar tools and examples. Continue reading on Towards Dev »
-
-
How to Secure Your C# Applications: Best Practices & Code Examples
blog.stackademic.com Issue #292
Why Security Should Be Your Top Priority Continue reading on Stackademic »
-
What’s New in C# 13 — A Deep Dive into the Latest Features
medium.com Issue #291
C# 13, released as part of .NET 9, introduces a set of practical yet powerful enhancements that make coding cleaner and more flexible.
-
Building Microservices with C# and .NET Core
medium.com Issue #291
How I architected, developed, and deployed microservices using C# and .NET Core in real-world projects. Continue reading on .Net Programming »
-
Why C# and .NET are the Programmer’s Best Friends in Today’s World
medium.com Issue #291
In this post, we’d like to expand on why C# and .NET should be in the forefront of your development toolkit
-
Singleton in C#: The One Class to Rule Them All
medium.com Issue #291
Have you ever heard the phrase:
-
Access Modifiers in C#
c-sharpcorner.com Issue #291
Master C# access modifiers (public, private, protected, internal, protected internal, private protected) to control code visibility and build robust, maintainable applications. Learn how to encapsulat...
-
Using CancellationToken in .NET: Graceful Shutdowns Explained
medium.com Issue #291
Introduction: The Importance of Graceful Shutdowns in .NET
-
Mistakes Senior C# Developers Make — Hard-Won Lessons
medium.com Issue #291
Senior C# Slip-Ups: Hard-Won Lessons From Ten Years in .NET — Avoid deadlocks, N+1 traps, and memory leaks with Monday-ready refactors. Continue reading on Inside the IF »
-
Observable Lists in C# and Unity — Built-in vs Custom
medium.com Issue #290
When working in Unity or C#, you’ve probably used List<T> a million times. It’s simple, fast, and gets the job done. But there’s one…
-
[.NET]: Let’s Create a CLI with System.CommandLine
medium.com Issue #290
Today I will be showing you how I have built a CLI task tracker using console applications in .NET.