C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 41 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 41 of 94
Newest first
-
C# LINQ Performance in .NET: Optimize Queries & Avoid Hidden CPU/Memory Traps
blog.yaseerarafat.com Issue #310
There’s a reason LINQ became every .NET developer’s favorite tool. It reads like poetry — expressive, declarative, deceptively elegant…
-
Top 50 C# and .NET Code Hacks That Instantly Make You a Better Developer
medium.com Issue #310
Real examples, cleaner syntax, and lessons learned from everyday coding mistakes. Continue reading on Write A Catalyst »
-
How To Use Domain-Driven Design (DDD) in Clean Architecture — With C# and Real Examples.
medium.com Issue #309
When developers talk about scalable software design, two architectural patterns often come up: Clean Architecture and Domain-Driven…
-
Writing Future-Proof C# Code: How to Build Software That Lasts
medium.com Issue #309
Most developers write code to make something work. But great developers write code to make something last.
-
LifeTracker — A .NET App 5: Many to Many Relationship Notes
jackymlui.medium.com Issue #309
Perhaps the most complex part of this app is the Many-to-Many relationship between the Template and Question models. You can find the code…
-
-
C#.NET Developer Roadmap — A Complete Guide
medium.com Issue #309
Becoming a skilled C# ASP.NET developer is a rewarding journey that combines strong programming fundamentals with modern web development…
-
Difference between ASP.NET MVC, C#, and ASP.NET Core
c-sharpcorner.com Issue #309
Understand the key differences between C#, ASP.NET MVC, and ASP.NET Core. This guide clarifies their roles in web development, highlighting C# as a programming language, ASP.NET MVC as a legacy Window...
-
Prompt Engineering vs. Context Engineering: A Technical Reality Check
c-sharpcorner.com Issue #309
This article clarifies the relationship between prompt engineering and context engineering, emphasizing that context engineering is a crucial component supporting prompt engineering, not a replacement...
-
🧠 GC.Collect() vs GC.SuppressFinalize() in .NET — Deep Dive (with Real-World Examples)
c-sharpcorner.com Issue #309
Unlock .NET memory management secrets! This deep dive explores GC.Collect() and GC.SuppressFinalize(), revealing when and how to use them effectively. Learn the nuances of garbage collection in .NET 8...
-
How to Use a Scoped Service Inside a Hosted Service in .NET
malshikay.medium.com Issue #309
Avoid common dependency injection mistakes and build clean, reliable background jobs in .NET using IServiceScopeFactory
-
Mastering TextWriter in C#: A Complete Guide for Developers
medium.com Issue #309
In modern software development, working with files and text data is a common requirement.
-
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...