languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2552 articles Updated Page 23 of 103
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 23 of 103
Newest first
-
OOP in C# — Deeper Understanding for Freshers
C# Corner Issue #438
Unlock the power of OOP in C#! This beginner-friendly guide simplifies encapsulation, inheritance, polymorphism, and abstraction with real-world examples. Build better C# applications!
-
Agent Skills in .NET: Three Ways to Author, One Provider to Run Them
Microsoft Dev Blogs Issue #438
Your agents can now draw on skills authored in three different ways – as files on disk, as inline C# code, or as encapsulated classes – and combine them freely in a single provider. Add built-in scrip...
-
I Built a .NET Library for ACH Files — and Made It Much Faster Than the Popular Alternative
Medium Issue #437
How `ReadOnlySpan<T>`, a `ref struct`, and some simple design decisions made parsing ACH files dramatically faster
-
Difference Between yield return and return in C# with Examples?
C# Corner Issue #437
Unlock the power of C#! Discover the difference between `return` and `yield return` for efficient data handling. Learn when to use each for optimized memory and performance in your applications. Maste...
-
I Spent a Weekend Building a C# Web API Without a .csproj and .sln, and It Felt a Lot Like Go
Medium Issue #437
I’ve been writing C# on and off since around 2020, and for most of that time the first thing I do on any new project is the same: dotnet…
-
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# Corner 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# Corner 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 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 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# Corner 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 Issue #435
How to make the computer do the boring work over and over
-
Advanced C# Concepts Every .NET Developer Should Know
Medium 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 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
Medium 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# Corner 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 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# Corner 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# Corner 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# Corner 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# Corner 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# Corner 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# ?
""charp" OR "asp.net" OR "fsharp" OR "c#" OR "vb.net" " - Google News 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# Corner 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.