C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 38 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 38 of 94
Newest first
-
Working with Strings and StringBuilder in C#
c-sharpcorner.com Issue #320
Unlock C# string manipulation secrets! Learn when to use String vs. StringBuilder for optimal performance in ASP.NET WebForms. Boost efficiency now!
-
Understanding HashSet in C#: Internal Working, Advanced Concepts & Performance Insights
medium.com Issue #319
If you’ve worked with collections in C#, you’ve likely used List<T>, Dictionary<TKey, TValue>, or HashSet<T> — but do you really know how…
-
Asynchronous Programming in C#: async and await
c-sharpcorner.com Issue #319
Unlock ASP.NET WebForms performance with async/await! Prevent page freezes during long operations like API calls. See a practical example & real-world use cases.
-
Stop Overusing LINQ — This Pattern Is Faster
medium.com Issue #319
(Because beauty has a cost in hot paths.)
-
Mastering the Magic of C#: From Basics to Brilliance
c-sharpcorner.com Issue #319
Unlock the power of C#! This guide covers everything from basic syntax to advanced features like OOP, async programming, and pattern matching. Build web, mobile, and AI apps!
-
dotnet run App.cs: why .NET 10’s file-based apps unlock a new wave of use cases
blog.devgenius.io Issue #319
.NET 10 lets you run a single C# file directly — dotnet run App.cs — with no .csproj required. You can pull NuGet packages inline, switch… Continue reading on Dev Genius »
-
API Key Auth in .NET 9 (Clean Architecture, Minimal APIs) — A No-Drama, Copy-Paste Guide
medium.com Issue #319
If you want the full source code, join our community: Here
-
Understanding base() vs this() in C# Constructors — A Deep Dive
medium.com Issue #319
“Constructors build the foundation of your class hierarchy — understanding how base() and this() work gives you full control over object…
-
Mastering Facet: A guide to Type-Safe Projections in C#
medium.com Issue #319
In this post, I want to highlight Facet’s features and demonstrate how to use them with concrete examples. From generating your DTO’s and…
-
What Are Events in .NET Framework?
c-sharpcorner.com Issue #319
Unlock the power of .NET events! Learn how publishers and subscribers communicate using delegates, creating responsive and decoupled applications. Master event handling in C#.
-
Akka.NET + Kubernetes: Everything You Need to Know
petabridge.com Issue #319
Production lessons from years of running Akka.NET clusters at scale
-
Spans Got Easier in C# 14
singhsukhpinder.medium.com Issue #318
How C# 14 turns Span<T> patterns into mainstream practice
-
Is C# Dying in 2025?
blog.probirsarkar.com Issue #318
Every few years, the same question resurfaces:
-
File Handling in C#: Read, Write, and Manage Files Easily
c-sharpcorner.com Issue #318
Master file handling in C# with this guide! Learn to read, write, and manage files in ASP.NET Web Forms using System.IO. Includes real-time examples and best practices.
-
10 Mind-Blowing C# Record Features You’re (Definitely) Not Using Right
blog.stackademic.com Issue #318
Most developers barely scratch the surface of what Records can do. Continue reading on Stackademic »
-
Remove spaces and special characters from a string using C#
c-sharpcorner.com Issue #318
Learn how to remove spaces and special characters from a string in C# using Regex. This tutorial provides a real-time example with WebForms and clear explanations. Clean your strings effectively!
-
🚀 Batch Processing in C# using async and await — The Smart Way to Handle Workloads
c-sharpcorner.com Issue #318
Master batch processing in C# using async/await! Learn how to efficiently handle large workloads, improve performance, and scale your applications. Real-world examples included.
-
Binary Search From Basics
mariemoalla.medium.com Issue #318
Binary Search is one of the most fundamental, and powerful, algorithmic techniques every developer should know.
-
.NET 10 Broke My Brain (in the Best Way): Farewell, Program.cs
medium.com Issue #318
The day we said goodbye to the entry point that shaped our C# lives. Continue reading on Towards Dev »
-
Delegates and Events in C# Windows Forms
c-sharpcorner.com Issue #318
Master C# delegates and events in Windows Forms! Learn to build responsive UIs with real-time updates, like a file upload progress tracker. Essential for event-driven apps.
-
Blazing Fast Caching Service in .NET 9 (Redis-Compatible) — A Copy-Paste Guide That Actually Scales
medium.com Issue #318
If your API is doing the same heavy work for the same inputs all day, you don’t need more CPUs — you need a cache. Here’s a…
-
Understanding Garbage Collection, Cyclic References, and Memory Management in C#
c-sharpcorner.com Issue #317
Master C# memory management! Explore garbage collection, cyclic references, weak references, and IDisposable for efficient, leak-free .NET applications.
-
Saga Pattern in C#: Reliable Transaction Orchestration Example
c-sharpcorner.com Issue #317
Implement the Saga Pattern in C# for reliable transaction orchestration across microservices. Learn to manage complex workflows and ensure data consistency.
-
Difference Between Abstract Class and Interface in C#
c-sharpcorner.com Issue #317
Understand the core differences between abstract classes and interfaces in C# with a practical Windows Forms example. Learn when to use each for better design.
-
Introducing Custom Agents for .NET Developers: C# Expert & WinForms Expert
devblogs.microsoft.com Issue #317
Introducing C# Expert and WinForms Expert: experimental custom agents that help .NET developers write better code with GitHub Copilot. The post Introducing Custom Agents for .NET Developers: C# Exper...