languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 43 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 43 of 93
Newest first
-
Why I Still Choose C# (Even After Trying Everything Else)
medium.com Issue #301
The one language that keeps pulling me back, no matter what else I try Continue reading on Programming Letters »
-
Boost your C# skills by fixing these common coding pitfalls — write cleaner, faster, and more maintainable code. Continue reading on Medium »
medium.com Issue #301
Boost your C# skills by fixing these common coding pitfalls — write cleaner, faster, and more maintainable code.
-
C# Guid Helper Extension
c-sharpcorner.com Issue #300
Enhance your .NET projects with the GuidHelper extension! This helper provides methods for safely parsing, validating, and manipulating Guids. Easily check for empty Guids, parse strings into Guids (o...
-
C# Tip: Use Stack<T>, Not List<T>
c-sharpcorner.com Issue #300
Unlock performance gains in your C# applications! Discover why Stack<T> often outperforms List<T> when implementing LIFO (Last-In, First-Out) data structures. This tip explores the underlying re...
-
Struct vs Class in C#: Performance Considerations for High-Load Apps
medium.com Issue #300
`struct` vs `class` in C#: Learn the key differences between value types and reference types, and how they impact performance and memory.
-
Stop Using C# Enums the Wrong Way — Advanced Tips for ASP.NET & .NET Developers
shahedbd.medium.com Issue #300
If you’re treating C# enums as nothing more than fancy integer labels, you’re leaving powerful features on the table. Most developers I’ve…
-
How to Use Reflection in .NET: A Beginner’s Implementation Guide (Part 2)
thelifesyntax.medium.com Issue #300
Continuing with our previous part, we’ll directly jump on the implementation aspects of Reflection in .NET here.
-
Inheritance in C#: Reusing Code the Smart Way
medium.com 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.com 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.com 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-sharpcorner.com 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.com 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)
thelifesyntax.medium.com 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)
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 »