languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 14 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 14 of 93
Newest first
-
String Performance: Why Some String Searches Are Slower Than You Think
dotnettips.com Issue #437
String searching is fundamental to modern applications, yet its performance impact is often overlooked. This article explores how common string search patterns can quietly slow down your code—and how ...
-
How to Build a Multi-Agent Workflow in C# Guide
c-sharpcorner.com Issue #436
Build intelligent multi-agent systems in C# with Semantic Kernel. Automate complex tasks by orchestrating AI agents for research, writing, and review. Learn step-by-step!
-
How to Implement Vector Search in C# with Azure AI or Qdrant
c-sharpcorner.com Issue #436
Unlock semantic search in C#! This guide explores vector search implementation using Azure AI Search and Qdrant. Build smarter apps with AI-powered features.
-
C# 15 Union Types: Finally Solving a Long-Standing Problem (With Example)
medium.com Issue #436
A few months ago, I ran into a very common problem while writing C# code. Continue reading on GoPenAI »
-
Stop Writing Guard Clauses Like It’s 2010
medium.com Issue #436
Stop Writing Guard Clauses Like It’s 2010 Continue reading on .NET Fiddle »
-
What Is a NullReferenceException in C# and How to Fix It Properly?
c-sharpcorner.com Issue #436
Master C# NullReferenceExceptions! Learn to identify, fix, and prevent this common error with practical examples, null checks, and modern C# features for robust code.
-
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.