languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2466 articles Updated Page 46 of 99
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 46 of 99
Newest first
-
When LINQ becomes a mess | Clean EF Core queries
medium.com Issue #311
Sometimes it’s really hard to follow the logic in LINQ — especially if the query is a giant one. And if you’re wondering how to make it…
-
Filtering Rows in a DataTable using DataView in C#
c-sharpcorner.com Issue #311
Learn how to efficiently filter rows in a C# DataTable using DataView. This method allows dynamic data filtering without altering the original DataTable. Discover how to create DataViews, apply RowFil...
-
Write Code Like a Pro: 15 LINQ Tricks That Eliminate Complex Loops Forever
medium.com Issue #311
Discover powerful LINQ patterns used by senior developers to write elegant, high-performance C# code that recruiters and teammates love.
-
Learn the Builder Pattern in C#
c-sharpcorner.com Issue #310
This article provides a comprehensive guide, explaining when and how to use this creational design pattern to simplify complex object construction. Explore classic and fluent builder implementations, ...
-
The Ultimate C# Interview Questions Guide: Master the Fundamentals
medium.com Issue #310
Friend link :- Read full story for free!
-
-
Say Goodbye to If-Else Chains with a Rule Engine Approach
medium.com Issue #310
We can make our code more scalable and manageable by using this approach, and eliminate the long chain of if-else conditions
-
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 —…