C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 10 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 10 of 94
Newest first
-
SOLID Principles in C#- Complete Guide with Real-World Examples
medium.com Issue #461
Software projects usually start simple.
-
I stopped using 6 design patterns in C#
medium.com 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.com 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.com Issue #461
1. Process vs Thread
-
I let GitHub Copilot write all my C# database code for a month
medium.com Issue #461
Here’s what almost broke production.
-
Why DSA Matters for Every C# .NET Developer
medium.com 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.com 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.com Issue #460
Simple Examples for Beginners
-
I Built a Visual Studio Extension to Fix the Most Annoying C# Workflow — Here’s How
medium.com 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.com 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
pmichaels.net 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
milanjovanovic.tech 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!
devblogs.microsoft.com 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
csharpdigest.net Issue #457
no matter which version of .NET you're targeting
-
C#: How to Refactor Legacy Code Safely
pietschsoft.com 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-sharpcorner.com 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”
blog.dotnetframework.org 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-sharpcorner.com 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.
-
Prompt Engineering in C#: System Messages, Few-Shot Examples & Structured Output
medium.com Issue #456
The Problem
-
The Complete C# Guide: From Access Modifiers to Zero-Allocation Memory — Everything a Production…
medium.com Issue #456
C# is one of the most feature-rich languages on the planet. The problem isn’t learning it — it’s knowing which parts actually matter when… Continue reading on JIN System Architect »
-
MCP Magic: Building Tool-Enabled AI Agents with C#
visualstudiomagazine.com Issue #455
Rockford Lhotka previews his Visual Studio Live! San Diego session, "MCP Magic," and explains why the Model Context Protocol is becoming a key building block for AI agents. In this Q&A, ...
-
Pattern matching in C#: Advanced scenarios you didn't know
blog.elmah.io Issue #455
table of contents Pattern matching is not just condition checking. It reflects how you think as a developer. Matching and validation can be achieved in a naive, descriptive way. However, a cleaner app...
-
10 Hidden Features in C# That Will Make You a Better Developer
blog.stackademic.com Issue #455
Most developers learn the basics of C# and stop at classes, loops or maybe a bit of LINQ. But C# has evolved a lot over the years and many… Continue reading on Stackademic »
-
Simple Multithreading in C# with a Practical Example (.NET 10)
medium.com Issue #455
Multithreading is a fundamental concept in modern programming that allows applications to perform multiple operations concurrently.