languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 15 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 15 of 93
Newest first
-
How to Optimize Memory Usage with C# Garbage Collection
c-sharpcorner.com Issue #431
Unlock C# garbage collection! Learn how it works, optimize memory usage, and boost performance in ASP.NET Core apps. Essential for scalable .NET development.
-
C# Data Types: Different Boxes for Different Stuff (Part 7)
medium.com Issue #431
How to choose the right “container” for your data
-
C# Records Explained Like a Pro
medium.com Issue #431
(With Real-World Use Cases & Performance Insights)
-
Stop NullReferenceExceptions in C# Before They Break Your App
medium.com Issue #430
A NullReferenceException occurs when you try to access a member (method, property, index) of an object that is currently null.
-
async/await in C#: What Actually Happens
medium.com Issue #430
I kept hearing that async/await makes code “run in the background” or “makes things faster,” but that never fully made sense to me.
-
Why Async/Await Changed the Way We Think About Concurrency
c-sharpcorner.com Issue #430
Explore how async/await revolutionized concurrency in C#. Learn how it simplified asynchronous programming, improved scalability, and shifted developer thinking in .NET.
-
Difference Between Abstract Class and Interface in C# With Examples
c-sharpcorner.com Issue #430
Explore the nuances of Abstract Classes vs. Interfaces in C#. Learn their key differences, use cases, and real-world examples for better C# development.
-
C# Programming Language Guide
c-sharpcorner.com 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-sharpcorner.com 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.com Issue #429
Making your programs speak to the world (and to you!)
-
C# Mistakes That Are Silently Slowing Down Your Code
medium.com 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.com 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
devblogs.microsoft.com 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-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…