languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2466 articles Updated Page 20 of 99
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 20 of 99
Newest first
-
Stop Repeating Yourself! Loops in C# (Part 10)
medium.com Issue #435
How to make the computer do the boring work over and over
-
Advanced C# Concepts Every .NET Developer Should Know
medium.com Issue #435
A practical deep-dive into async/await, delegates, pattern matching, expression trees, and reflection — with examples.
-
Why Most Developers Misunderstand IEnumerable vs IQueryable (And Pay for It in Production)
medium.com Issue #435
You write a clean LINQ query, test it locally, and everything looks fine. Then it hits production.
-
10 Hidden Features in .NET Developers Are Sleeping On
pushpadangi.medium.com Issue #434
Stop writing boilerplate code and discover the framework features that’ll make your colleagues ask “wait, .NET can do that?”
-
How to Use Multithreading in C# to Run Tasks in Parallel?
c-sharpcorner.com Issue #434
Unlock the power of parallel processing in C# with multithreading! Learn how to use Tasks, async/await, and the Parallel class to boost performance and responsiveness. Master multithreading!
-
Stop Leaking Generated Types in .NET
medium.com Issue #434
If you’ve ever opened generated C# code and thought, “Why are there so many tiny helper types floating around my assembly?”, this post is…
-
What are the new features in C# 14 for developer productivity?
c-sharpcorner.com Issue #434
Explore C# 14's productivity boosters! Discover streamlined pattern matching, primary constructors, collection expressions, and more for efficient .NET development.
-
How to Write Clean Code in C# Using Naming Conventions and Best Practices?
c-sharpcorner.com Issue #433
Master C# clean code: naming conventions, best practices, and SOLID principles. Write readable, maintainable, and scalable .NET applications. Improve team collaboration!
-
How to Use the New Field Keyword in C# 14 for Properties
c-sharpcorner.com Issue #433
Simplify C# property implementation with the 'field' keyword in C# 14! Reduce boilerplate, enhance readability, and maintain custom validation effortlessly. Boost productivity!
-
-
How to Use Collection Expressions in C# 13 and C# 14
c-sharpcorner.com Issue #433
Simplify collection initialization in C# 13 & 14 with collection expressions! Boost readability, reduce boilerplate, and enhance productivity. Learn how!
-
How to Handle Exceptions in C# Using Try, Catch, Finally With Real Examples
c-sharpcorner.com Issue #433
Master C# exception handling with try, catch, and finally blocks! Learn to build robust applications, prevent crashes, and improve user experience. Real examples included!
-
How to Add a Watermark to an Image in C# ?
news.google.com Issue #432
How to Add a Watermark to an Image in C# ?
-
Difference Between String and StringBuilder in C# and When to Use Each?
c-sharpcorner.com Issue #432
Unlock C# text manipulation mastery! Learn the String vs. StringBuilder difference for optimal performance. Discover when to use each for efficient code and scalability.
-
What is the Difference Between Record Struct and Class in C#?
c-sharpcorner.com Issue #432
Unlock the secrets of C#! Learn the key differences between record struct and class for optimal performance and maintainability. Master data type selection!
-
LINQ Performance Pitfalls Every C# Developer Should Know
medium.com Issue #432
Two subtle choices — IEnumerable vs IQueryable, and Func vs Expression — can mean the difference between a fast query and a silent…
-
Why Modern C# Encourages Functional Programming Concepts
c-sharpcorner.com Issue #432
Explore how modern C# embraces functional programming with LINQ, lambdas, records, and pattern matching for cleaner, safer, and more maintainable code.
-
What Are Primary Constructors in C# 12 and Their Benefits?
c-sharpcorner.com Issue #432
Discover C# 12's primary constructors! Simplify code, boost readability, and reduce boilerplate. Learn how they streamline data models and dependency injection.
-
How to Fix “Object Reference Not Set to an Instance of an Object” in C#?
c-sharpcorner.com Issue #431
Master the dreaded 'Object reference not set' error in C#! Learn to identify, fix, and prevent NullReferenceExceptions with practical C# and ASP.NET Core examples.
-
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.