languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 44 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 44 of 93
Newest first
-
Dev Snack #13 — Records in C#
medium.com Issue #297
immutabilità con stile
-
-
Mastering Delegates in C#
c-sharpcorner.com Issue #297
This article goes beyond the basics, revealing how delegates enable flexible, extensible, and testable applications. Learn how they underpin events, LINQ, asynchronous programming, and design patterns...
-
Top C# Features You’re Probably Not Using (But Should Be) for Better .NET Development
blog.devgenius.io Issue #297
Let’s be honest: as developers, we’re creatures of habit. We find patterns that work, stick with them, and often resist change — even when… Continue reading on Dev Genius »
-
Dear C# Developers, Just #@!&ing Learn JavaScript Already
itnext.io Issue #297
I get it. I too have dipped my toes into the cesspool of JavaScript and recoiled in horror. Continue reading on ITNEXT »
-
Lazy Initialization in C#: Improve Performance with Lazy
medium.com Issue #297
A practical guide to lazy initialization in .NET: boost startup speed and resource efficiency with Lazy<T>.
-
OOP in C#: A Beginner’s Guide to Thinking in Objects
medium.com Issue #297
When I first entered the IT world, Object-Oriented Programming (OOP) in C# was one of those terms that kept appearing everywhere. People…
-
Improve your .NET knowledge right now!
medium.com Issue #296
Check out these free resources: ⬇️ Continue reading on AI Career Quest »
-
Pushing .NET Performance: Practical Low-Level Programming Techniques in C#
c-sharpcorner.com Issue #296
Unlock peak .NET performance with low-level C# techniques! Dive into unsafe code, spans, stackalloc, and P/Invoke to minimize allocations, control memory, and optimize critical paths. Learn when and h...
-
IEnumerable vs IQueryable in .NET
c-sharpcorner.com Issue #296
Learn how IEnumerable handles in-memory data efficiently, while IQueryable shines with remote data sources like databases, translating LINQ to SQL for server-side filtering. Choosing the right interfa...
-
Async and Await in C#
c-sharpcorner.com Issue #296
This comprehensive guide simplifies complex concepts, demonstrating how to write responsive and scalable applications. Learn to handle I/O-bound and CPU-bound operations efficiently using Tasks and th...
-
Boost Your .NET Projects: Simplify Unique Key Generation with KeyGenerator in Spargine
dotnettips.wordpress.com Issue #296
The KeyGenerator in Spargine is an efficient tool for generating unique keys using GUIDs, ideal for object IDs and database records. It offers methods for creating keys with or without prefixes. This ...
-
Best Ways to Handle Null Reference Exceptions in C#
c-sharpcorner.com Issue #296
This article provides practical strategies to prevent and handle NREs effectively. Learn to use null checks, the null-conditional and coalescing operators, proper object initialization, and C# 8's nul...
-
Readonly vs Const in C#: The Hidden Performance Trap Nobody Warned You About
medium.com Issue #296
Discover how a small keyword choice can silently slow down your .NET code — and the smarter way to use them for cleaner, faster…
-
Go vs. C#: Which Language Uses Memory More Efficiently?
medium.com Issue #296
Go and C# developers both like to claim that their language is more memory efficient. But which one really has the edge?
-
Top C# Best Practices Every Web Developer Should Know
shahedbd.medium.com Issue #296
As a web developer working with C# and ASP.NET Core, you’ve likely encountered codebases that range from beautifully crafted to downright…
-
Smart Dependency Injection in .NET with Custom Attributes
c-sharpcorner.com Issue #296
Simplify .NET dependency injection with custom attributes! Automate service registration by defining injection scopes directly on interfaces. This approach reduces boilerplate code, enhances maintaina...
-
The New Standard for AI in.NET: A Deep Dive into Microsoft.Extensions.AI
medium.com Issue #295
How to Implement API Versioning in .NET Core Web APIs: Best Practices and Migration Guide
-
Building Extensible .NET Applications with Plugin Architectures
c-sharpcorner.com Issue #295
Unlock the power of extensible .NET applications with plugin architectures! Learn how to build flexible systems that adapt to evolving business needs using reflection, MEF, and dependency injection. D...
-
-
C# Channels Demystified: Stop Fighting Threads and Start Writing Cleaner Code
blog.stackademic.com Issue #295
Part 1 in a beginner-friendly guide to thread-safe async messaging in .NET Continue reading on Stackademic »
-
Null-Conditional Assignment in C# 14
c-sharpcorner.com Issue #295
C# 14 introduces null-conditional assignment (?.=), a syntactic sugar that simplifies null checks before assignments. This feature reduces boilerplate code, enhances readability, and aligns assignment...
-
Expression Trees in C#: Building Dynamic LINQ Queries at Runtime
blog.elmah.io Issue #295
Tired of endless if-else blocks just to build queries? What if your LINQ queries could write themselves at runtime? Today, we will unfold expression trees, which can be used to create dynamic queries ...
-
.NET 10 Features I Can’t Wait to Use
medium.com Issue #295
C# 14 is bringing a wave of subtle yet powerful improvements designed to boost developer productivity, improve code readability, and…
-
From Assemblies to Objects: Demystifying .NET’s Core Building Blocks
medium.com Issue #294
Refined Topics