languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2640 articles Updated Page 56 of 106
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 56 of 106
Newest first
-
Inheritance in C#: Reusing Code the Smart Way
Medium Issue #300
When I first came across the word inheritance in programming, I thought it was going to be about money, wills, or family property. In C#…
-
C# .NET 9: How to Use Safety Annotations to Eliminate NullReferenceException
Medium Issue #300
NullReferenceException is often called the billion-dollar mistake. Even with nullable reference types introduced in C# 8, there are still…
-
Classes and Objects in C#: Building Blocks of OOP
Medium Issue #299
When I first learned about classes and objects in C#, the explanation I got was: “A class is a blueprint, and an object is an instance of…
-
How to Delete a Particular Item from an Array
C# Corner Issue #299
Learn the safest and most efficient ways to delete items from Python arrays, avoiding costly errors. This guide uses a real-world insurance claims scenario to illustrate the dangers of improper deleti...
-
Master Zero-Allocation Programming: The Ultimate Guide to Span and Memory in C# — To Read
Medium Issue #299
Unlock the secrets of high-performance, zero-allocation programming in .NET and revolutionize your application’s memory efficiency
-
A Beginner-Friendly Guide to .NET Reflection (With Practical Use Cases)
Medium Issue #299
.NET Reflection. Its one of those topics in .NET that most developers have heard of, many have used it indirectly, but few feels confident…
-
Rock Your Code: Coding Standards for Microsoft .NET (20th Anniversary Edition)
WordPress 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 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# Corner 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 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
elmah.io Blog - .NET Technical tutorials/guides and new features 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# Corner 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# Corner 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# Corner 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 Issue #298
🔴 VS Code - Let it Cook - Background Coding Agents
-
Understanding Filters in Minimal API with .NET 9.0
C# Corner 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 Issue #298
Cleaner errors, faster code.
-
Supercharging LINQ in C#: A Practical Guide to Cysharp ZLINQ
Medium 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 Issue #297
immutabilità con stile
-
-
Mastering Delegates in C#
C# Corner 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 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 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…