languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 41 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 41 of 93
Newest first
-
Understanding Searching Algorithms: Linear Search and Binary Search
c-sharpcorner.com Issue #309
Explore the fundamentals of searching algorithms with Linear and Binary Search. Learn how these algorithms efficiently locate elements within data structures. Discover their step-by-step logic, Python...
-
C# 13 / .NET 9: The New Lock Type That’s 25% Faster (and Smarter)
medium.com Issue #309
Concurrency in C# just got an upgrade. With .NET 9, Microsoft introduces a dedicated Lock type — finally freeing us from the awkward days…
-
Stop Wasting Threads: 5 Async Tricks That Separate Senior .NET Devs from the Rest
blog.stackademic.com Issue #308
From channels to suppressed continuations, these async techniques will make your code smoother, faster, and smarter. Continue reading on Stackademic »
-
The var Trap: Why Explicit Types Still Win in C# Clarity
medium.com Issue #308
That one keyword that makes your C# code clean — until it hides what really matters.
-
How .NET Thinks: Understanding the Mind of Your Code
medium.com Issue #308
Ever wondered what really happens when .NET runs your C# code? Let’s look inside how .NET “thinks” — how it manages memory, objects, and…
-
Understanding C# Delegates
medium.com Issue #308
If you’re new to C# programming, you’ve probably come across the term “delegate” and wondered what it actually means. Don’t worry —…
-
C# Events Explained: Learn with a YouTube Example
medium.com Issue #308
Have you ever wondered how apps notify you when something happens? Like when YouTube tells you your favorite creator uploaded a new video…
-
Claude Code vs GitHub Copilot: Which is Better for .NET / C# Devs?
c-sharpcorner.com Issue #308
Struggling to choose between GitHub Copilot and Claude Code for .NET/C# development? This 2025 comparison dives deep, analyzing context awareness, code completeness, testing, and more. Discover which ...
-
Static Class vs Singleton Pattern 🔄
c-sharpcorner.com Issue #307
Explore the nuances between Static Classes and the Singleton Pattern in C#. This article provides a detailed comparison, covering memory usage, performance, inheritance, thread safety, testing, and pr...
-
Mastering C# Strings: Manipulation, Formatting, and Comparison
medium.com Issue #307
When working with C#, one of the most frequently used data types is the string. Whether you’re building a console application, a web API…
-
C# 14: User-Defined Compound Assignment and Smarter Null-Conditional Assignment
medium.com Issue #307
Write safer, more expressive C# 14 code with user-defined compound assignments and concise null-conditional assignments for custom types. Continue reading on .Net Programming »
-
C# 12 Features Mastery Part 4 - Primary Constructors, Records, Pattern Matching for ASP.NET Core
c-sharpcorner.com Issue #307
Master C# 12's essential features for ASP.NET Core development! Part 4 dives into primary constructors (reducing boilerplate), records (immutable data), advanced pattern matching (smarter code flow), ...
-
C# is fixing a thing that irritated me!
blog.jermdavis.dev Issue #306
For a long time a small thing in writing Razor code for Sitecore (and in some other places) has irritated me. It's not really very important, but with the new version of C# there is finally a way to r...
-
A New Era of Developer Productivity with Vibe Coding with C# 13
c-sharpcorner.com Issue #306
C# 13 and vibe coding revolutionize developer productivity by reducing boilerplate, simplifying patterns, and promoting clean architecture. Learn how primary constructors, pattern matching, intercepto...
-
Difference Between Prompt Engineering and Context Engineering
c-sharpcorner.com Issue #306
Prompt Engineering teaches AI what to do; Context Engineering teaches AI what matters. Learn the difference between prompt and context engineering, their roles in generative AI, and how they shape the...
-
How to Disarm and Reconstruct Files in C#
cloudmersive.medium.com Issue #306
In this brief article, we’ll provide context for Content Disarm and Reconstruction (CDR) file sanitization in threat scanning workflows…
-
Polymorphism in C#: One Action, Many Forms
medium.com Issue #306
When I first heard the word polymorphism, I thought it sounded more like a biology term than a programming concept. Honestly, it felt like…
-
Understanding the Difference Between `readonly` and `const` in C#
medium.com Issue #306
Discover why these two keywords behave differently and how misunderstanding them can cause subtle bugs.
-
C# Without null: Implementing Option and Result Types in .NET
medium.com Issue #306
If your codebase looks like a haunted house of if (x == null) return;, it’s not “defensive.” It’s indecisive. Instead of sprinkling null…
-
C# at Scale: What I Learned Moving from Side Projects to Production Systems
medium.com Issue #305
The hard lessons of performance tuning, async pitfalls, and memory management in real-world .NET applications Continue reading on .Net Programming »
-
Cursor Introduces Plan Mode
c-sharpcorner.com Issue #305
Cursor's new Plan Mode boosts AI-assisted coding with structured plans, codebase research, and editable Markdown. Improve code quality & accuracy!
-
Modernizing Legacy C# Code: Refactoring Strategies Every Developer Should Know
c-sharpcorner.com Issue #305
Discover practical refactoring strategies using LINQ, pattern matching, and async/await. Learn how to simplify loops, improve string handling, implement proper logging, and leverage IHttpClientFactory...
-
Scaling .NET APIs with Ease: How I Used C# to Handle Millions of Requests
medium.com Issue #305
How I Rebuilt My API Infrastructure to Handle Load, Caching, and Concurrency the Right Way Continue reading on .Net Programming »
-
Interfaces in .NET: Building Robust and Maintainable Applications
medium.com Issue #305
Refined Topics
-
7 Types of Constructors in C#
medium.com Issue #305
Constructors are special methods that execute automatically when an instance of a class is created.