languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2768 articles Updated Page 54 of 111
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 54 of 111
Newest first
-
.NET 10 Just Turned C# Into a Scripting Powerhouse — And It’s a Game-Changer for Developers
Medium Issue #323
You might think .NET 10 is just another annual update — but it’s not. This release tears down old boundaries, turning C# into a full-blown…
-
Modern C# Error Handling Patterns You Should Be Using in 2025
Medium Issue #323
Throwing exceptions and catching them everywhere is easy. Doing error handling well — predictable, testable, and performant — is the hard…
-
From Freezes to Flow: Mastering I/O-Bound Performance in C# .NET Like a Pro
Medium Issue #323
Go beyond theory — uncover real-world examples, proven async techniques, and performance patterns that turn your sluggish apps into…
-
The Hidden C# Keyword That Replaces Dozens of Nested Ifs
Medium Issue #322
Most developers overcomplicate decision logic without realizing there’s a simpler way. This guide reveals the underused language feature…
-
Span and Memory in .NET: Writing High Performance Code
Medium Issue #322
Modern memory efficiency without unsafe code
-
Find duplicate elements in an array using C#
C# Corner Issue #322
Learn how to find duplicate elements in a C# array using a practical web form example. This tutorial provides code and a step-by-step explanation. Perfect for beginners!
-
The Most Misunderstood Keyword in C#: readonly
Medium Issue #322
A single keyword that can save you from invisible state corruption — and even make your code faster
-
IOptions vs IOptionsSnapshot vs IOptionsMonitor: The Ultimate Deep Dive
Medium Issue #322
Friend link :- Read full story for free!
-
Respect Your Memory: 5 Low-Level Tricks That Separate Average .NET Devs from Experts
blog.stackademic.com Issue #322
The difference between fast code and memory-efficient code is not luck; it is technique. Continue reading on Stackademic »
-
Add This One Line to Catch Every Unhandled Exception in .NET
Medium Issue #322
(Because some errors never make it to your logs — until now.) By Mohammad Shoeb · Microsoft Solution Architect
-
The Complete Guide to App Settings in C#: Configuration Files Demystified
Medium Issue #322
Friend link :- Read full story for free!
-
Sort array elements without using built-in methods
C# Corner Issue #322
Learn how to sort array elements in C# without using built-in methods! This tutorial uses Bubble Sort with a practical ASP.NET example for hands-on learning.
-
Optimizing EF Core Performance for High-Traffic Applications
Medium Issue #322
Most developers learn Entity Framework Core from tutorials that show you how to fetch a few records, add an entity, call SaveChanges()…
-
Invariance, Covariance, and Contravariance in C#
Medium Issue #322
Are you still struggling to understand covariance and contravariance? There’s a solution! Read this article to the very end, to finally…
-
How LINQ Turns Your C# Code into SQL Queries (With Real Examples)
Medium Issue #322
When working with databases in .NET, Language Integrated Query (LINQ) is one of the most elegant features ever introduced. It allows you…
-
Understanding Constructor Overloading in C# WebForms
C# Corner Issue #322
Master C# constructor overloading in WebForms! Learn to initialize objects flexibly with different parameters. Real-time examples & practical use cases included.
-
Microservices in .NET: From Theory to Practice
Medium Issue #322
Have you ever wondered how Netflix handles millions of users simultaneously, or how Amazon manages thousands of orders per second? The…
-
Stop Allocating Arrays — Start Renting Them Like a Pro
Medium Issue #321
We allocate arrays like it’s free candy. Every new byte[1024] or new char[4096] feels harmless — until your profiler lights up with GC…
-
Understanding CancellationToken in .NET 9.0
C# Corner Issue #321
Learn how to use CancellationToken in .NET 9.0 to gracefully stop async tasks, prevent resource waste, and improve application stability. Includes code example!
-
Working with String, StringBuilder, and StringBuffer in C#
C# Corner Issue #321
Master C# string manipulation! Compare string, StringBuilder, & StringBuffer (simulated) in ASP.NET WebForms. Boost performance & ensure thread safety. ??
-
Stop Writing Boilerplate: Let These 5 Modern C# Features Do the Work
blog.stackademic.com Issue #321
Less clutter, fewer ifs, cleaner models, and APIs that basically document themselves. These tricks just make C# feel… nicer. Continue reading on Stackademic »
-
15 Essential C# Shorthand Operators Every Developer Should Know in 2025
Medium Issue #321
Introduction
-
Understanding Inheritance and Polymorphism in C#
C# Corner Issue #321
Unlock C#'s power! Explore inheritance and polymorphism with practical ASP.NET WebForms examples. Build reusable, scalable, and maintainable applications. Master OOP!
-
C# Excel to HTML Conversion: A Practical Guide
Medium Issue #321
This guide walks you through how to convert Excel to HTML and customize the conversion options in C# using a third-party .NET library
-
Factorial Calculator (ASP.NET WebForms Example)
C# Corner Issue #321
Build a real-time factorial calculator using ASP.NET WebForms (C#). This tutorial provides a step-by-step guide with code examples for front-end design and back-end logic.