languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2640 articles Updated Page 28 of 106
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 28 of 106
Newest first
-
C# Programming Language Guide
C# Corner Issue #429
This document is content of my research, it has piece of paragraphs that I have gained from the official vendor of .NET and C# programming language which is Microsoft.
-
How to Implement a Binary Search Algorithm in C# With Example
C# Corner Issue #429
Master Binary Search in C#! This guide covers iterative & recursive implementations with clear examples, optimization tips, and real-world applications. Boost your search efficiency!
-
Talking to Users: How C# Shows Output (Part 4)
Medium Issue #429
Making your programs speak to the world (and to you!)
-
C# Mistakes That Are Silently Slowing Down Your Code
Medium Issue #429
Most C# developers don’t realize a thing. Your code might be working perfectly but still performing badly. No errors. No crashes. Just…
-
Source code generated string enums with exhaustion support
Steven Giesel Issue #429
Some time ago (over 4.5 years ago!) I wrote a blog post titled: "A better enumeration - Type safe from start to end". While cool and so - it had some issues. Let's tackle them!
-
Explore union types in C# 15
Microsoft Dev Blogs Issue #429
C# 15 introduces union types — declare a closed set of case types with implicit conversions and exhaustive pattern matching. Try unions in preview today and see the broader exhaustiveness roadmap. Th...
-
What is the Difference Between Task and Thread in C#?
C# Corner 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 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 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 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 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
no dogma blog 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 Issue #427
Browsers worked. The API endpoint worked in Postman. A basic .NET client did not.
-
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