languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 22 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 22 of 93
Newest first
-
.NET Source Generators with Jason Bock
dotnetrocks.com Issue #391
Why would you write code to generate code? Carl and Richard talk with Jason Bock about his experiences using modern .NET source generators to optimize certain aspects of applications. Jason talks abou...
-
Part 2: Build an MCP Server in C#/.NET and Enrich It With Repository Context
medium.com Issue #391
The .NET ecosystem now has an official C# MCP SDK plus project templates that get you from “zero” to a working server fast.
-
C# Rounding Demystified: The Ultimate Guide to Rounding Numbers in .NET
medium.com Issue #390
If you’ve ever Googled “C# round” hoping for clear, practical guidance on rounding numbers in .NET, you’re not alone. Rounding is one of…
-
C# vs Java — Which Language Should You Choose in 2026?
medium.com Issue #390
Choosing between C# and Java in 2026 isn’t just about syntax or company loyalty — it’s about building software that lasts, scales, and…
-
The Real Difference Between record and class Isn’t About Syntax
donmahsu.medium.com Issue #390
When I first saw record, I honestly couldn’t grasp the point at all.
-
How to Use Cursor for .NET Development: Top 5 Ways Explained
medium.com Issue #390
Do you need expert help for software development? Explore how you can use cursor for .NET development in this guide
-
-
Are exceptions exposing vulnerabilities in your .NET App?
roundthecode.com Issue #390
Unhandled exceptions in ASP.NET Core can expose sensitive data. Learn when it happens, why it's dangerous, and how to fix it. The page Are exceptions exposing vulnerabilities in your .NET App? appeare...
-
How to Set Background Colors and Images in Word Documents Using C#
medium.com Issue #390
Automating Word document formatting is a common requirement in .NET development. Setting document backgrounds — whether solid colors or…
-
How to Demonstrate Deep C# Knowledge: A Guide Through Delegates and Events
medium.com Issue #389
Preparing for a C# interview? Or looking to validate your senior-level expertise? Here’s the truth: nothing showcases your advanced grasp…
-
Hire C# Developer: How Companies Find the Right Talent for Scalable Software
c-sharpcorner.com Issue #389
Looking to hire a C# developer for your startup or enterprise project? Learn how to find skilled C# and .NET developers, avoid hiring mistakes, and work with experienced consultants and architects to ...
-
Result Pattern: Handling Expected Failures Without Using Exceptions
donmahsu.medium.com Issue #389
Recently, while I was cleaning up some business logic in an old system, I noticed that almost all error handling was done with try/catch…
-
5 Advanced Async Concepts That Make Sense Once You Understand the Runtime
medium.com Issue #388
Why TaskCompletionSource, custom awaiters, and continuations behave the way they do Continue reading on CodeToDeploy »
-
Command Line Interface Consumer for Kafka in C#
nodogmablog.bryanhogan.net Issue #388
When I started working with Kafka, I installed it locally on Docker and used a combination of the Confluent Command Line Interface (CLI) and C# programs I wrote. One of the CLI tools from Confluent l...
-
Serialization & Deserialization in C#
medium.com Issue #388
Serialization in C# converts objects into a format like JSON or XML for storage or transmission, while deserialization reverses this…
-
Why Choosing Classes Over Structs Almost Broke My .NET App — And How Value Types Saved It
medium.com Issue #387
“Why did my API suddenly slow down under load, even though nothing in the code changed?”
-
Orchestrating Durable AI Agents in .NET
medium.com Issue #387
In modern AI systems, it’s not enough for agents to handle single requests — they must coordinate complex, multi-step workflows that can… Continue reading on GoPenAI »
-
Building Your First AI Agent in C# with Microsoft Agent Framework
medium.com Issue #387
From chatbot to agent in 15 minutes — a practical guide for .NET developers
-
String Performance: Why Some String Searches Are Slower Than You Think
dotnettips.wordpress.com Issue #387
String searching is fundamental to modern applications, yet its performance impact is often overlooked. This article explores how common string search patterns can quietly slow down your code—and how ...
-
Missed these 12 new C# features?
roundthecode.com Issue #386
Discover 12 C# features from C# 12, 13 and 14 you may have missed, including primary constructors, collection expressions, extension members and more. The page Missed these 12 new C# features? appeare...
-
Engineering healthcare systems in C#/.NET using HL7 & FHIR and why domain knowledge is important
medium.com Issue #386
Beyond the code: Why domain expertise is the secret weapon for developers, and a deep dive into building healthcare systems with HL7 & FHIR
-
Abstract vs Virtual in C#
c-sharpcorner.com Issue #386
Confused about abstract vs. virtual in C#? This guide clarifies their differences, usage scenarios, and common pitfalls. Learn when to use each for robust code design.
-
Common C# Mistakes Even Senior Developers Make
c-sharpcorner.com Issue #386
Avoid common C# pitfalls! Even experienced developers make mistakes like misusing async/await, ignoring IDisposable, and over-abstracting. Learn to write better C# code.
-
I Got Tired of DI Wiring in .NET (So I Built AttributedDI)
medium.com Issue #385
Seven years ago (wow, time flies), I was working on a big greenfield .NET project. It started clean and optimistic, and then, like many…
-
Dotnet Tip: ToList() Vs ToHashSet()
medium.com Issue #385
Recently, I had an issue which was bringing down our application in Production. Everything worked fine in Nonproduction of course since…