languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 51 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 51 of 93
Newest first
-
C#: .NET’s Quiet Comeback in 2025
medium.com Issue #271
Why C# is regaining traction as enterprises and modern developers rediscover its power in a fast-changing tech landscape.
-
New LINQ Methods in .NET 9: A Quick Guide
medium.com Issue #271
The world of C# development is constantly evolving, and with each new version of .NET, we receive powerful enhancements that make our code…
-
Mastering Async in C#: A Deep Dive into TAP (Part 1)
medium.com Issue #271
Intro Asynchronous programming has come a long way in .NET, evolving from complex callback-based approaches to the elegant Task-based…
-
The Most Underrated Feature in .NET — IAsyncEnumerable
medium.com Issue #271
When I first heard about IAsyncEnumerable<T>, I thought, "Cool, another interface I’ll probably never use." Turns out, I was wrong.
-
What’s New in .NET 9: Exploring C# 12 Features and Serverless Performance
medium.com Issue #270
Deep dive: Explore cutting-edge C# 12 features in .NET 9 and benchmark their serverless performance on Linux and Windows containers. Continue reading on .Net Programming »
-
Building a Fast .NET Core API with Async Programming
medium.com Issue #270
Every request to an API starts on a thread from the CLR’s pool. With synchronous execution, that thread stays blocked until completion…
-
Efficient Caching Strategies: Write-Through vs. Write-Behind Caching
blog.stackademic.com Issue #270
We will learn about efficient way to update cache so that we will get always updated value in Cache. Continue reading on Stackademic »
-
ArrayPool: The most underused memory optimization in .NET
medium.com Issue #270
Despite offering up to 78x performance improvements and completely eliminating garbage collection pressure, ArrayPool<T> remains one of…
-
When to Use Generic vs Non-Generic Collections in C#
c-sharpcorner.com Issue #270
Discover the differences between generic and non-generic collections in C#. Learn their impact on performance, type safety, and usability with examples, helping you choose the right collection for eff...
-
Mapster + JSON in C#: The Lean Mapping Playbook (with real-world gotchas)
medium.com Issue #270
I was debugging a Blazor API at 2 AM when a simple mapping bug made my DTOs look like they were haunted. Spoiler: it wasn’t brujería — it… Continue reading on .Net Programming »
-
Two more LINQ extensions in dotnet 10
steven-giesel.com Issue #270
The preview 6 of dotnet 10 brings two more functions: InfiniteSequence and Sequence.
-
5 .NET Mistakes That Are Slowing Your Code Down Right Now
blog.stackademic.com Issue #270
Fix these silent killers before they wreck your app’s performance. Continue reading on Stackademic »
-
5 .NET Debugging Hacks That Will Save You From Pulling Your Hair Out
blog.stackademic.com Issue #270
Stop swallowing bugs silently and start catching them before they wreck production. Continue reading on Stackademic »
-
5 .NET Core Code Patterns for Bulletproof FDA-Compliant MedTech Software
faciletechnolab.com Issue #270
Build bulletproof FDA-compliant MedTech software with these 5 .NET code patterns. Ensure audit trails, e-signatures & HIPAA security. Download our free checklist.
-
What are the difference between a function and a method in C# ?
c-sharpcorner.com Issue #269
Understanding the difference between a function and a method is crucial for every C# developer. While both perform operations and return results, their usage and context differ. In this article, we’ll...
-
From Stack to Span<T> — A Recap into C#’s Memory
c-sharpcorner.com Issue #269
Explore C# memory management, from stack vs heap to structs and contiguous memory. Learn how Span<T> enables efficient slicing without allocations, optimizing performance and reducing GC overhead i...
-
8 Simple Tricks to Make Your Code Look Professional Overnight
medium.com Issue #269
Transform messy code into clean, readable work fast. Continue reading on Nerd For Tech »
-
11 LINQ Calls Microsoft Engineers Replace for Up to ~2× Throughput
blog.devgenius.io Issue #269
(With analyzers, docs, and a reproducible benchmark harness) Continue reading on Dev Genius »
-
C# Boxing: A Hidden Performance Enemy (Defeat It Now)
levelup.gitconnected.com Issue #269
Master boxing in C# to write faster, cleaner code. Continue reading on Level Up Coding »
-
What is the difference between == and .Equals() in C#?
medium.com Issue #269
In C#, both == and .Equals() are used to compare values, but they differ in behavior and purpose.
-
Stop Using Try-Catch for Everything — Microsoft’s Real Error Handling Patterns in C#
blog.devgenius.io Issue #268
Structured exception handling is powerful — but if you treat try-catch as your only error-handling tool, you’re silently breaking… Continue reading on Dev Genius »
-
The 5 C# Features Good Developers Know But Never Use
medium.com Issue #268
When I look back at my early years as a C# developer, I realize I wasn’t making obvious rookie mistakes — my code compiled, it worked, and…
-
The Hidden C# 13 Features That Make Your Code Faster, Safer, and AI-Ready
blog.devgenius.io Issue #268
C# 13 didn’t make huge headlines like record types in C# 9 or raw string literals in C# 11. Continue reading on Dev Genius »
-
5 .NET Hacks So Good, You’ll Want to Refactor Your Whole Codebase
blog.stackademic.com Issue #268
Modern C# power moves that make your old code cry. Continue reading on Stackademic »
-
The Beauty of Marker Interfaces and Reflection in .NET
medium.com Issue #267
In software architecture, it’s often necessary to identify and process specific groups of classes in a uniform manner. Common scenarios…