C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 16 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 16 of 94
Newest first
-
What is the Difference Between Task and Thread in C#?
c-sharpcorner.com Issue #429
Unlock C# concurrency! Master the difference between Tasks and Threads with our easy-to-understand guide. Boost performance & write scalable .NET apps.
-
Leaving Notes for Yourself: The Magic of C# Comments (Part 5)
medium.com Issue #429
Your future self will thank you for writing these!
-
Entity vs DTO vs ViewModel in ASP.NET Core: What Every .NET Developer Must Know
medium.com Issue #428
Early in my career building enterprise .NET applications, I made a mistake I see constantly in code reviews and mock interviews: I…
-
Top Core Concepts Every Senior C#/.NET Developer Should Know in 2026
medium.com Issue #428
The .NET ecosystem has never moved faster. From minimal APIs and cloud-native architecture to AI integration and advanced concurrency —…
-
A Comprehensive Guide to C# .NET Input Controls
medium.com Issue #428
Input controls are fundamental to any .NET application. They govern how users provide data and directly influence the integrity, usability… Continue reading on MESCIUS inc. »
-
.NET CLI Shebangs and Argument Parsing
nodogmablog.bryanhogan.net Issue #427
I’ve been using the dotnet run app.cs CLI applications for a little while. Until now, I had no problem with arguments passed in, but today I added a -v option to my application to print out the versio...
-
Why My .NET HttpClient Kept Getting 403 Forbidden Until I Forced HTTP/1.1
medium.com Issue #427
Browsers worked. The API endpoint worked in Postman. A basic .NET client did not.
-
How to build an LLM in C#
medium.com 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-sharpcorner.com 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.com Issue #427
Usually at 2am. Usually in production.
-
My Journey of Completing C# Certification from freeCodeCamp
medium.com 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.com 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.com 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.com 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.com Issue #426
Part 3: ⚽ Sports Betting Platforms
-
How to set up MCP in C# .NET — step-by-step guide
medium.com 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.com Issue #425
Part 2: 🏦 Banking Systems
-
-
The Developer’s Leap Forward: Everything New in .NET 10 and C# 14
medium.com Issue #425
Introduction: Why This Release Matters
-
The Silent Performance Killer in C#: String vs. StringBuilder
medium.com 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.com 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…
-
Mastering SOLID Principles: Writing Maintainable C# Code
medium.com Issue #424
Reading time: ~8 minutes
-
Creating a Mock RDP Server in C#
donmahsu.medium.com 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.com 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.com 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.