languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2466 articles Updated Page 48 of 99
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 48 of 99
Newest first
-
How .NET Code Works Behind the Scenes: Explained for Beginners
medium.com Issue #304
Ever wondered what really happens when you hit “Run” in a .NET app?
-
Advanced OOP Features in C#: Beyond the Four Pillars
medium.com Issue #304
When I first learned the four OOP pillars — encapsulation, inheritance, polymorphism, and abstraction — I thought I had unlocked the…
-
How the lock Keyword Works in C#: Thread Safety Demystified
medium.com Issue #304
Understand how the C# lock keyword prevents race conditions, how it works internally, and when to use advanced synchronization methods.
-
Master Static, Sealed, and Constructors in C# — Learn with a Real Bank Story
medium.com Issue #304
A beginner-friendly guide to understanding the most confusing C# keywords through a fun and realistic Bank example.
-
C# Channel Mastery: Advanced Patterns for Async Pros
blog.stackademic.com Issue #304
Part 5 in a beginner-friendly guide to thread-safe async messaging in .NET Continue reading on Stackademic »
-
Defensive Programming with Microsoft .NET: Anticipate Errors and Eliminate Bugs
dotnettips.wordpress.com Issue #303
This discusses the principles of defensive programming to enhance software development. It emphasizes error prevention strategies such as input validation, comprehensive error handling, and assumption...
-
The Specification Pattern in C#: Write Cleaner, More Maintainable Queries
medium.com Issue #303
Stop copying and pasting LINQ queries. Start writing reusable, testable specifications.
-
PLINQ in .NET: Supercharging LINQ with Parallelism
medium.com Issue #303
When performance meets simplicity
-
The Painful Truth About Over-Abstraction in C# — And How to Fix It
medium.com Issue #303
Practical fixes for leaner C#.
-
Use CancellationTokens
steven-giesel.com Issue #303
This is a very small blog post on why you should use CancellationTokens in your API.
-
Step-By-Step C# Scripting Guide For Unity Beginners
medium.com Issue #303
C# scripting plays a crucial role in modern game development and software programming due to its simplicity, power, and versatility.
-
C# Partial Constructors and Events Explained with Real-Life Bank Example
medium.com Issue #302
How Partial Classes Make Your Code Cleaner and Events Make It Smarter
-
🔴 VS Code Live - v1.105 Release
youtube.com Issue #302
Interesting new C# 14 features coming with .NET 10
-
Abstraction in C#: Hiding the Mess, Showing the Magic
medium.com Issue #302
When I first heard the term abstraction, I thought: “Is this about painting abstract art? Because I’m terrible at drawing.”
-
C# tips: string.IsNullOrEmpty vs string.IsNullOrWhiteSpace
c-sharpcorner.com Issue #301
Understand the crucial difference between string.IsNullOrEmpty and string.IsNullOrWhiteSpace in C#. This article clarifies when to use each method for effective string validation. Learn how IsNullOrWh...
-
You’re Still Writing C#/.NET Like It’s 2015 — Here’s the 2025 Way
levelup.gitconnected.com Issue #301
If your C# still starts with namespaces at the top, MVC controllers everywhere, and new JsonSerializerOptions() sprinkled around, you’re… Continue reading on Level Up Coding »
-
Constants vs Read Only variables in C#
medium.com Issue #301
In .NET, both constants and read-only variables serve the purpose of defining values that cannot be changed during the execution of a… Continue reading on .NET Framework with C#— Common and Uncommon »
-
-
Must-Know System Design for .NET Developers (Extended Edition)
medium.com Issue #301
The Ultimate Interview Prep Guide Continue reading on Let’s Code Future »
-
Why I Still Choose C# (Even After Trying Everything Else)
medium.com Issue #301
The one language that keeps pulling me back, no matter what else I try Continue reading on Programming Letters »
-
Boost your C# skills by fixing these common coding pitfalls — write cleaner, faster, and more maintainable code. Continue reading on Medium »
medium.com Issue #301
Boost your C# skills by fixing these common coding pitfalls — write cleaner, faster, and more maintainable code.
-
C# Guid Helper Extension
c-sharpcorner.com Issue #300
Enhance your .NET projects with the GuidHelper extension! This helper provides methods for safely parsing, validating, and manipulating Guids. Easily check for empty Guids, parse strings into Guids (o...
-
C# Tip: Use Stack<T>, Not List<T>
c-sharpcorner.com Issue #300
Unlock performance gains in your C# applications! Discover why Stack<T> often outperforms List<T> when implementing LIFO (Last-In, First-Out) data structures. This tip explores the underlying re...
-
Struct vs Class in C#: Performance Considerations for High-Load Apps
medium.com Issue #300
`struct` vs `class` in C#: Learn the key differences between value types and reference types, and how they impact performance and memory.
-
Stop Using C# Enums the Wrong Way — Advanced Tips for ASP.NET & .NET Developers
shahedbd.medium.com Issue #300
If you’re treating C# enums as nothing more than fancy integer labels, you’re leaving powerful features on the table. Most developers I’ve…