languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2466 articles Updated Page 3 of 99
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 3 of 99
Newest first
-
Azure Event Grid and Event Hubs in .NET: When to Use Each
medium.com Issue #518
Azure offers three services with similar names but very different roles: Service Bus, Event Hubs, and Event Grid. Continue reading on CodeX »
-
Back to Basics: What String Concatenation Taught Me About Memory in C#
medium.com Issue #518
Today, I went back to the basics. Nothing fancy. No advanced features. No design patterns. Just strings in C# and I’m glad I did.
-
20 LINQ Methods Every C# Developer Should Know (With Simple Examples)
medium.com Issue #518
If you’re a C# developer, you’ve probably used LINQ dozens of times. But are you making the most of it?
-
Diving in OOP (Polymorphism and Inheritance – Part 1)
c-sharpcorner.com Issue #518
Master C# method overloading and the params keyword in this hands-on OOP guide. Learn compile-time polymorphism with practical code examples.
-
Adding a Clone method to a C# record
meziantou.net Issue #518
Adding a Clone method to a C# record When using records, creating a copy with with is concise: var sample = new Sample("meziantou"); _ = sample with { }; public record Sample(string Value); This works...
-
Value Types vs Reference Types in C#: The Concept Every .NET Developer Must Master
c-sharpcorner.com Issue #518
Master C# Value vs. Reference Types: Understand data storage, copying, and memory management for efficient .NET development.
-
15 Advanced C# Mistakes You’re Probably Still Making
truestorydavestorey.medium.com Issue #518
Writing high-performance, robust C# requires moving beyond entry-level pitfalls like simple null checks or missing using statements. As…
-
Convert DOCX to PDF in C#: 5 Methods Compared in 2026 - HackerNoon
hackernoon.com Issue #517
Convert DOCX to PDF in C#: 5 Methods Compared in 2026 HackerNoon
-
Understanding Builder Design Pattern in .NET
yogeshhadiya33.medium.com Issue #517
Object creation is one of the most common tasks in any application. For simple classes, a constructor is usually enough to initialize the…
-
Covariance and Contravariance in C#: The Simplest Guide Every .NET Developer Should Read
medium.com Issue #517
Learn Covariance (out) and Contravariance (in) in C# with real-world examples, simple diagrams, interview questions, and practical use…
-
Adding static getter thanks to extensions
steven-giesel.com Issue #517
Here a simple scenario: You have a StringComparer and you want to add your own comparer to the mix - for example a "natural sort" order, so "file2" sorts before "file10" instead of after. With C# 14 w...
-
Building Multi-Agent AI Systems in C# Using Microsoft Semantic Kernel
c-sharpcorner.com Issue #517
Build modular, scalable multi-agent AI systems in C# with Microsoft Semantic Kernel for complex business workflows.
-
Beyond Chat: live Speech-to-Text with Foundry Local and C#
devblogs.microsoft.com Issue #517
A year ago, I wrote a .NET Blog post about running GPT-OSS locally with Ollama and C#. That sample used IChatClient from Microsoft.Extensions.AI to build one of the most familiar Local AI scenarios: a...
-
Building Enterprise Knowledge Graphs for AI Agents Using Neo4j and C#
c-sharpcorner.com Issue #517
Build enterprise AI agents with Neo4j and C#. Learn to model relationships, integrate with ASP.NET Core, and enhance LLM reasoning.
-
LINQ Query Structure: Base, Metric, Projection
medium.com Issue #517
In .NET queries and reporting, many teams prefer to use LINQ instead of raw SQL because of the many features LINQ provides. However, LINQ…
-
How async, await and Task are related in C#?
c-sharpcorner.com Issue #517
Understand how async, await, and Task in C# work together for non-blocking, efficient asynchronous operations, improving scalability and responsiveness.
-
Hashtable in C#
medium.com Issue #517
When working with Key-Value data in C#, you will often come across two collections, Hashtable and Dictionary . Both allow us…
-
.NET AI Community Standup: MCP C# SDK 2.0: Building the Next Generation of .NET AI Agents
youtube.com Issue #516
Join Bruno, Pranav, and Tarek for the next .NET + AI Community Standup. We’ll explore version 2.0 of the official MCP C# SDK, including its stateless-first design, standardized HTTP support, Multi Rou...
-
LINQ in C#: Sequence Boundaries That Break Systems
medium.com Issue #516
Grouping Windows, Deferred Execution Traps, and Streaming Reality
-
Understanding SOLID Principles in C#: Building Maintainable Object-Oriented Applications
c-sharpcorner.com Issue #516
Master SOLID principles in C#: SRP, OCP, LSP, ISP, DIP. Learn to write clean, maintainable, and scalable object-oriented code.
-
Inside the .NET Garbage Collector: How Mark, Sweep, Compact, and Finalization Really Work in C#
c-sharpcorner.com Issue #516
Understand the .NET GC's Mark, Sweep, Compact, and Finalization phases. Learn how it efficiently reclaims memory and keeps your C# apps running smoothly.
-
Migrating VB.NET to C#: Step-by-Step Guide
faciletechnolab.com Issue #516
How to migrate VB.NET to C# - syntax conversion, project structure changes, COM dependencies, testing strategy, and tooling. A practical step-by-step guide.
-
Understanding SOLID Principles in C#
medium.com Issue #516
Most .NET developers learn SOLID early — yet many production systems still become tightly coupled, difficult to test, and painful to…
-
F# vs C#— Orchestrators
medium.com Issue #516
This article isn’t part of the previous F# vs C# series (part 1, part 2, part 3), because that series focuses on F#’s token efficiency.