C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 44 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 44 of 94
Newest first
-
Rock Your Code: Coding Standards for Microsoft .NET (20th Anniversary Edition)
dotnettips.wordpress.com Issue #299
The 20th Anniversary Edition of Rock Your Code: Coding Standards for Microsoft .NET, authored by David McCarter, is now available on Amazon. This comprehensive guide offers updated standards for .NET ...
-
Understanding C# Generics: Learn How to Build Reusable and Type-Safe Code
medium.com Issue #299
Imagine you’re organizing your kitchen. You have different containers for different items — one for pasta, another for rice, and yet… Continue reading on Programming with C# »
-
C# 14 Extension Members: A Deep Dive Into Power, Patterns, and Pitfalls
c-sharpcorner.com Issue #299
C# 14 introduces extension members, expanding the capabilities of extension methods to include properties, indexers, operators, and events. This feature enhances API design by allowing developers to e...
-
Parallel Processing in .NET Core: Choosing Between Parallel.ForEach, Task.Run, and Task.WhenAll
medium.com Issue #299
Understanding the subtle differences between Parallel.ForEach, Task.Run, and Task.WhenAll is crucial for writing efficient, scalable, and…
-
Hidden Costs of Boxing in C#: How to Detect and Avoid Them
blog.elmah.io Issue #298
C# Boxing and Unboxing are vital players in the performance of an application. However, they are often overlooked. They involve heap allocations that bring a penalty due to their accessing mechanism. ...
-
🔄 Reverse a String Without Using Extra Space
c-sharpcorner.com Issue #298
Master the art of reversing a string in-place, a fundamental Data Structures and Algorithms (DSA) interview question! This article provides a step-by-step approach using the efficient two-pointer tech...
-
🔍 How to Find the Largest Element in an Array?
c-sharpcorner.com Issue #298
This beginner-friendly article breaks down the problem with clear code examples and explains the O(n) time complexity. Master array traversal, comparisons, and loops while building a strong foundation...
-
Field-backed Properties in C# 14
c-sharpcorner.com Issue #298
C# 14 introduces field-backed properties, enabling developers to inject logic (validation, normalization) into auto-implemented properties without manual backing fields. The field contextual keyword p...
-
ASP.NET Community Standup - Razor Reloaded
youtube.com Issue #298
🔴 VS Code - Let it Cook - Background Coding Agents
-
Understanding Filters in Minimal API with .NET 9.0
c-sharpcorner.com Issue #298
Explore .NET 9 Minimal API filters for streamlined validation, authorization, and logging. Simplify your code and enhance maintainability with practical examples.
-
C# Developers, Wake Up: Exceptions Are Dead — Result Pattern Rules Now
medium.com Issue #298
Cleaner errors, faster code.
-
Supercharging LINQ in C#: A Practical Guide to Cysharp ZLINQ
medium.com Issue #297
How to replace standard LINQ with Cysharp ZLinq for faster, zero-allocation queries in C#, with examples, limitations, and best practices. Continue reading on .Net Programming »
-
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...