languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2640 articles Updated Page 22 of 106
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 22 of 106
Newest first
-
C# Word Library: Comparing 7 Options for .NET Developers in 2026
C# Corner Issue #463
Explore the top 7 C# Word libraries for .NET in 2026. Compare features, licensing, and performance to choose the best option for document generation, parsing, and conversion.
-
C# 15 and the Future of .NET: A Comprehensive Deep Dive into Union Types and the Evolution of C# 14
Medium Issue #463
Introduction: The Next Evolution of C#
-
We built an AI tool for .NET/C# developers in 2 days
Round The Code Issue #463
We built an AI tool for .NET and C# developers in just 2 days using Claude's API. Here's how we did it, the prompts we used, and how you can try it now. The page We built an AI tool for .NET/C# develo...
-
Removing Duplicate Rows in Excel Using C#
Medium Issue #461
Duplicate rows are a common nuisance when working with Excel data. Whether you’re cleaning data, generating reports, or performing…
-
Delegates vs Events in C# [Part 1] Control, Ownership, and Safe Communication
Medium Issue #461
Part 1: 🍎 Fruit & Vegetable Production Systems
-
Stop Writing Foreach Loops for This
Medium Issue #461
Three LINQ methods that replace the loops you write on autopilot
-
SOLID Principles in C#- Complete Guide with Real-World Examples
Medium Issue #461
Software projects usually start simple.
-
I stopped using 6 design patterns in C#
Medium Issue #461
I used to be a design pattern evangelist. Factory classes everywhere. Singletons for shared services. Visitors for traversing object trees…
-
dotnet run hello.cs — C# Finally Got Its "Python Moment" in .NET 10
Medium Issue #461
How File-Based Apps in C# 14 & .NET 10 kill the boilerplate and bring scripting-speed prototyping to the world’s most powerful typed…
-
Concurrency & Parallelism in C# — From Threads to TPL
Medium Issue #461
1. Process vs Thread
-
I let GitHub Copilot write all my C# database code for a month
Medium Issue #461
Here’s what almost broke production.
-
Why DSA Matters for Every C# .NET Developer
Medium Issue #461
In the fast-paced world of software development, frameworks and libraries often steal the spotlight.
-
Stop Writing If/Else Chains. C# Pattern Matching Does It Better.
Medium Issue #460
Switch expressions, when guards, and property patterns make your condition logic shorter and a lot easier to read.
-
Understanding async/await in C# With Simple Examples
Medium Issue #460
Simple Examples for Beginners
-
I Built a Visual Studio Extension to Fix the Most Annoying C# Workflow — Here’s How
Medium Issue #460
Stop pressing Ctrl+. for every missing `using`. OhUsings imports them all at once. Continue reading on CodeCampsis »
-
Understanding Stacks and Queues in C#: A beginner-friendly guide
Medium Issue #460
Data Structures are the Backbone of efficient Software Development. Among the most commonly used data Structures in C# are Stack and Queue…
-
Creating a Simple MCP Server in .NET
The Long Walk — RSS Issue #459
In my previous post, I covered how to interact with a local LLM from .NET using LM Studio. In this post, I’m going to take that a little…
-
When Your Use Case Half-Succeeds: Designing for Partial Failure in .NET
Milan's .NET Weekly Issue #459
A use case isn't a transaction. The moment it touches more than one system, you are dealing with partial failure. Here's how I classify side effects and design use cases that fail loudly and recover s...
-
On .NET Live: How Coding Standards Supercharge .NET Quality & Performance
dotNetTips.com Issue #459
For the second time, I’m excited to be a guest on On .NET Live on May 18th at 9 AM PST! I’ll be talking about one of my favorite subjects: coding standards and how they can supercharge .NET code quali...
-
.NET 11 Preview 4 is now available!
Microsoft Dev Blogs Issue #458
Find out about the new features in .NET 11 Preview 4 across the .NET runtime, SDK, libraries, ASP.NET Core, .NET MAUI, C#, Entity Framework Core, and more! The post .NET 11 Preview 4 is now available...
-
Removing byte array allocations using ReadOnlySpan
C# Digest Issue #457
no matter which version of .NET you're targeting
-
C#: How to Refactor Legacy Code Safely
Chris Pietschmann Issue #457
Legacy C# code is usually not dangerous because it is old. It is dangerous because you do not fully know which parts are stable, which parts are accidentally correct, and which parts are one small cha...
-
How to Integrate a RESTful SMM Panel API using C# and HttpClient
C# Corner Issue #457
Learn how to automate digital marketing operations by integrating a RESTful SMM Panel API using C# and HttpClient. This step-by-step tutorial covers connecting to SMM Bear, a leading Indian SMM panel,...
-
The Misleading IndexOutOfRangeException That Means “Your List Isn’t Thread-Safe”
Network Programming in .NET Issue #457
If you’ve ever seen a stack trace like this in a .NET application: …and you stared at the offending line — something innocuous like myList.Where(x => x.IsActive).ToList() — wondering how on earth a LI...
-
Working with Span, Memory, and ref structs in High-Performance Apps using .NET 9
C# Corner Issue #456
Unlock peak .NET 9 performance! Dive into Span<T>, Memory<T>, and ref structs for allocation-free, high-speed code. Master stack-based memory and reduce GC pressure.