languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2768 articles Updated Page 60 of 111
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 60 of 111
Newest first
-
20 Killer C# One-Liners
Medium Issue #304
A senior-dev grab bag of 20 practical C# one-liners — guards, LINQ, JSON, async timeouts — each with when to use and pitfalls. Copy, paste… Continue reading on Programming Letters »
-
Extension Methods in C#: Write Cleaner, Smarter, and More Reusable Code
Medium Issue #304
Make your C# code more expressive and readable by using extension methods — the hidden gem behind LINQ and fluent APIs. Learn how to use…
-
How .NET Code Works Behind the Scenes: Explained for Beginners
Medium 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 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 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 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
WordPress 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 Issue #303
Stop copying and pasting LINQ queries. Start writing reusable, testable specifications.
-
PLINQ in .NET: Supercharging LINQ with Parallelism
Medium Issue #303
When performance meets simplicity
-
The Painful Truth About Over-Abstraction in C# — And How to Fix It
Medium Issue #303
Practical fixes for leaner C#.
-
Use CancellationTokens
Steven Giesel 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 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 Issue #302
How Partial Classes Make Your Code Cleaner and Events Make It Smarter
-
🔴 VS Code Live - v1.105 Release
YouTube Issue #302
Interesting new C# 14 features coming with .NET 10
-
Abstraction in C#: Hiding the Mess, Showing the Magic
Medium 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# Corner 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 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 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 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 Issue #301
Boost your C# skills by fixing these common coding pitfalls — write cleaner, faster, and more maintainable code.
-
C# Guid Helper Extension
C# Corner 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# Corner 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...