languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2640 articles Updated Page 42 of 106
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 42 of 106
Newest first
-
Polymorphism in C#: Simple Guide with Examples for Beginners
C# Corner Issue #351
Explore C# polymorphism: static (compile-time) and dynamic (run-time). Learn function/operator overloading, abstract classes, method overriding, and interfaces. Enhance code reusability!
-
-
C# Switch Statement: A Complete Guide for Beginners
Medium Issue #351
Are you tired of writing endless if-else statements in your C# code? The switch statement is your answer! In this guide, you’ll learn how…
-
Automate Word Chart Creation Using C#
Medium Issue #351
Generating reports and visualizing data are crucial tasks in many business applications. While Microsoft Word is a ubiquitous tool for…
-
Learn Data Types in C#
C# Corner Issue #350
This article provides a complete and descriptive guide to data types in C#. It explains value types, reference types, nullable types, numeric types, boolean, character types, strings, records, arrays,...
-
Extension Methods in C#: The Cleanest Way to Add Power to Your Code (2025 Guide)
Medium Issue #350
Some features in C# feel “small” until you finally understand how they shape modern .NET design.
-
RAG in .NET: A Practical Medium Guide for Developers Who Want Real Results
Medium Issue #350
Retrieval-Augmented Generation (RAG) has become the buzzword everyone loves to throw around. Scroll through LinkedIn or attend any tech…
-
Repository Pattern With Entity Framework Core | Clean Architecture, .NET 10
Medium Issue #350
Let’s clear something up right away:
-
Using Strategy Pattern with Dependency Injection in ASP.NET Core
elmah.io Blog - .NET Technical tutorials/guides and new features Issue #350
Selection logic is a prominent part of many applications. Whether you add a simple environment toggle, a UI mode decision, or apply a discount, you have to rely on user input. Sometimes, simply using ...
-
Avoid These 6 HttpClient Mistakes That Quietly Kill Your Throughput
Medium Issue #350
(And why your API slows down the moment traffic gets real)
-
Generics in C#: The Simple Idea That Makes .NET Core Fast & Safe
Medium Issue #350
When you hear “Generics,” it sounds like a complicated C# feature… but the truth is simple:
-
What's New in C# 14: Extension Members
Kevin W. Griffin - Azure & .NET Architect Issue #349
A hands-on look at using extension members to improve expressiveness and eliminate boilerplate in C#.
-
Clean Code in C#: A Step-by-Step Guide to SonarQube & .NET
Medium Issue #349
We’ve all been there. You push code, merge it, and three weeks later, a critical bug surfaces because of a null reference exception deep…
-
-
My First C# Program in Visual Studio Felt Like Magic
towardsdev.com Issue #349
A beginner-friendly walkthrough of building your first C# console app. Continue reading on Towards Dev »
-
LINQ Performance Optimization: 5 Patterns Every C# Developer Should Know
towardsdev.com Issue #349
Production-tested patterns for faster queries, lower memory usage, and better .NET application performance Continue reading on Towards Dev »
-
Laravel vs. .NET Core: A Real Developer’s No-Nonsense Comparison
Medium Issue #348
Laravel or .NET Core — most answers are influenced by preference, community hype, or ecosystem comfort.
-
Concurrency and Producer–Consumer Pattern with C# BlockingCollection
Medium Issue #348
In today’s world, it has become critical for an application to handle multiple tasks simultaneously. Many areas rely on this capability…
-
-
Async/Await Is Killing Your .NET Performance: The Value-Task Masterclass
Medium Issue #348
Async/Await is slow. Master ValueTask and advanced C# concurrency patterns to write allocation-free, lightning-fast .NET APIs.
-
How to Detect Spam from Text Input in C# .NET Core
Medium Issue #348
Detecting and blocking spam inputs in our application starts with accurately classifying what spam is.
-
-
-
Understanding Classes and Types of Classes in C# – A Complete Guide
C# Corner Issue #348
This article provides a complete and easy-to-understand guide to classes and all types of classes in C#. It covers the fundamentals of what a class is, how objects work, and explains each class type—i...
-
3 Ways to Check for null in C# — Which One Do You Use?
Medium Issue #348
Null checks are everywhere in our code. But modern C# gives us cleaner, smarter, and more expressive ways to handle them.