languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 36 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 36 of 93
Newest first
-
How I Accidentally Created a Memory Leak That Taught Me C#’s Darkest Secret
medium.com Issue #324
From 150MB to 4GB in 48 hours: The static event subscription that almost killed our Azure API and what it taught me about .NET’s garbage… Continue reading on .Net Programming »
-
C# Value Types vs Reference Types — Differences, Performance, and Memory Usage Explained
medium.com Issue #324
Discover how C# value and reference types work, where they live in memory, their behavior, and impact on performance!
-
Interesting new C# 14 features coming with .NET 10
thomaslevesque.com Issue #323
With the release of .NET 10 just around the corner (next month!), it’s time to take a look at the new features we can expect for C# 14. Note: the goal of this post is not to be an exhaustive list of a...
-
Stop Using Old C#: Unlock the Future with C# 14
medium.com Issue #323
Fresh features, zero hassle
-
.NET 10 Just Turned C# Into a Scripting Powerhouse — And It’s a Game-Changer for Developers
medium.com 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.com 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.com 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.com 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.com Issue #322
Modern memory efficiency without unsafe code
-
Find duplicate elements in an array using C#
c-sharpcorner.com 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.com 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.com 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.com 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.com Issue #322
Friend link :- Read full story for free!
-
Sort array elements without using built-in methods
c-sharpcorner.com 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.com 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.com 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)
jaykrishnareddy.medium.com 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-sharpcorner.com 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.com 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.com 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-sharpcorner.com 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-sharpcorner.com 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 »