languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 10 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 10 of 93
Newest first
-
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.
-
What We Lost the Last Time Code Got Cheap
poppastring.com Issue #455
I worked at a startup in Toledo called Heartland Information Services. We provided transcription services to some of the biggest hospitals in the United States, and we weren't small. Heartland was one...
-
Difference Between ValueTask and Task in C# with Performance Use Cases?
c-sharpcorner.com Issue #455
Explore Task vs. ValueTask in C# async programming. Learn when to use ValueTask for performance gains by minimizing memory allocation in high-throughput scenarios. Task is simpler and safer!
-
Machine Learning for C# Developers Made Easy
medium.com Issue #454
If you’ve been following me for a while, you would know that I wrote several books related to .NET and C#. Most recently, I published a…
-
Stop Creating Fake Data Manually — Use Bogus in .NET 10
medium.com Issue #454
Every developer has been there — staring at a blank test file, typing "John Doe" for the hundredth time. There's a better way.
-
How Are ‘virtual’, ‘partial’, ‘override’ Used in C#?
jeremie-litzler.medium.com Issue #454
And what are they in the C# programming language. Let’s review that together.
-
Collection Performance: AddRange() vs. InsertRange() When Populating Lists
dotnettips.com Issue #454
When populating collections in .NET, choosing the right bulk operation improves both clarity and efficiency. Methods like AddRange() and InsertRange() allow multiple items to be added in a single call...
-
Deferred Execution in LINQ: What Finally Made It Click
medium.com Issue #454
I thought my LINQ query had already run… but it hadn’t.
-
MCP — Model Context Protocol The Future of AI Tool Integration in .NET
medium.com Issue #453
“The day I replaced 400 lines of custom plugin glue code with a 40-line MCP server and watched Claude, GPT-4o, and our internal Phi-4…
-
Stop Memorizing: 6 Real-World .NET Interview Questions That Actually Get Asked
medium.com Issue #453
Think Like a Developer, Not a Textbook
-
Repository Pattern in C#: Complete Guide with Generic Repository and Real-World Examples
medium.com Issue #453
When developers start building applications using ASP.NET
-
Moderne Expands Agent Tools Platform with C# Support for Deterministic .NET Transformation
news.google.com Issue #453
Moderne Expands Agent Tools Platform with C# Support for Deterministic .NET Transformation
-
10 C Memory Hacks That Turn Beginners Into Pros Fast
medium.com Issue #453
Practical, real-world strategies to tame memory, pointers, and allocation without fear. Continue reading on CodeToDeploy »