languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2466 articles Updated Page 16 of 99
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 16 of 99
Newest first
-
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 »
-
Prompt Engineering for Claude Code - The .NET Developer's Guide
codewithmukesh.com Issue #453
Write effective Claude Code prompts for .NET 10 projects. The 4-layer instruction hierarchy, 10 Bad vs Better patterns, and a decision matrix from 6 months of daily use.
-
Expanded Agent Tools Platform Offers Support for C#, Enabling Automated Transformation of .NET Applications at Enterprise Scale
news.google.com Issue #453
Expanded Agent Tools Platform Offers Support for C#, Enabling Automated Transformation of .NET Applications at Enterprise Scale
-
The Observer Pattern in .NET — Events, Streams, and Awareness
binaryintellect.net Issue #453
In software systems, state changes constantly—but the real challenge lies in propagating those changes to the right parts of the system without creating tight coupling. The Observer Pattern addresses ...
-
C#: Should This Be a Class, Record, Struct, or Interface?
pietschsoft.com Issue #452
Every time you add a new type to a C# codebase, you face the same quiet decision: class, record, struct, or interface? And once you pick class, a second wave of questions arrives — should it be abstra...
-
Greater Than or Equal (>=) in C#: Unlocking the Power of Comparison for Robust .NET Applications
medium.com Issue #451
The >= operator may seem simple, but if you’ve spent any time in C# or .NET development, you’ve almost certainly relied on its logic…
-
From Allocation to Iteration: Optimizing Your Collections in .NET
medium.com Issue #451
When working with collections in .NET, developers often overlook one of the most impactful optimization techniques: initializing a List<T>…