languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2552 articles Updated Page 25 of 103
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 25 of 103
Newest first
-
How to build an LLM in C#
Medium Issue #427
I’m one of these late starters and slow learners but eventually I get obsessed about things. I’m bored of prompting someone else’s models… Continue reading on Data Science Collective »
-
How to Use Generics in C# to Write Reusable and Type-Safe Code
C# Corner Issue #427
Master C# generics! Learn how to write reusable, type-safe code, avoid duplication, and boost performance. Explore generic classes, methods, collections, and constraints.
-
Most C# devs have been burned by deferred execution at least once.
Medium Issue #427
Usually at 2am. Usually in production.
-
My Journey of Completing C# Certification from freeCodeCamp
Medium Issue #427
Recently, I achieved an important milestone in my development journey — I successfully completed the Foundational C# with Microsoft…
-
Clean C# Code: Best Practices, Smart Patterns & Real-World Examples in .NET Core
Medium Issue #426
Writing code that works is just the beginning. Writing code that lasts — that your team can read, test, extend, and debug at 2 AM — is the…
-
Building AI Agents with .NET & AutoGen in 2026
Medium Issue #426
“In 2024 we talked about AI assistants. In 2025 we shipped AI copilots. In 2026, the teams winning are shipping autonomous AI agents that…
-
Clean Code Rules That Don’t Fit Modern C#
Medium Issue #426
Hello! Today we’re going to talk about something a bit controversial — Clean Code.
-
Interface vs Abstract Class in C# — What They Really Mean [Part 3]
Medium Issue #426
Part 3: ⚽ Sports Betting Platforms
-
How to set up MCP in C# .NET — step-by-step guide
Medium Issue #426
Nowadays, it is significantly useful to allow AI agents access to your data. In fact, this is exactly what makes AI agents so powerful. If…
-
Interface vs Abstract Class in C# — What They Really Mean [Part 2]
Medium Issue #425
Part 2: 🏦 Banking Systems
-
-
The Developer’s Leap Forward: Everything New in .NET 10 and C# 14
Medium Issue #425
Introduction: Why This Release Matters
-
The Silent Performance Killer in C#: String vs. StringBuilder
Medium Issue #425
Since my early days at university, professors and online resources always gave me the same advice: “Just use String; it’s easier.” And for…
-
SOH vs LOH in .NET: What Every C# Developer Should Know About Memory
Medium Issue #425
The .NET GC doesn’t treat all allocations equally. Objects under 85,000 bytes go on the Small Object Heap (SOH). Objects at or above that…
-
-
Creating a Mock RDP Server in C#
Medium Issue #424
script that simulates pretending to be an RDP server.
-
Pure.DI: DI without container, without .NET type reflection, and with compile-time validation
Medium Issue #424
Pure.DI is a C# code generator for dependency injection that builds the dependency graph at compile time and generates ordinary C# code…
-
Mastering Thread Safety in .NET: volatile vs ConcurrentDictionary
Medium Issue #424
A deep dive into two of .NET’s most important concurrency tools — when to use each, how they work under the hood, and the traps to avoid.
-
Hidden C# Features That Will Make You a Better Developer
Medium Issue #424
C# is one of the richest and most mature programming languages in the ecosystem, yet many developers spend years using only a fraction of…
-
C# Interview Questions
Medium Issue #424
Now, let us take a look at the top C# interview questions that you might face!
-
.NET & C# for FHIR Interoperability 3 — Resource Validator
Medium Issue #424
Author: Rong Fan | FHIR Solution Provider | 10+ years .NET/C# expertise
-
10 C# 14 Features That Will Change How You Write Code
Medium Issue #424
Ranked by how much they’ll actually affect your day-to-day work.
-
How to Detect Phishing Links in Documents using C#/.NET
Medium Issue #424
The possibility of phishing links living in document containers often gets ignored. Unfortunately, it’s a very real threat.
-
Word Page Setup in C# (Size, Margin, Orientation)
Medium Issue #424
When developing business systems that involve document generation, it is often necessary to dynamically create Word reports based on data…
-
Merging Async Streams in C#: A Missing Primitive in IAsyncEnumerable
Medium Issue #424
A minimal, dependency‑free merge operator that streams results as they complete