C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 49 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 49 of 94
Newest first
-
Handle Nulls Like a Pro: 6 Smarter Alternatives to Null-Forgiving in C#
medium.com Issue #280
Using the null-forgiving operator (!) too often usually points to a problem. Here are safer and cleaner ways to avoid it.
-
IEnumerable vs IQueryable in C#: The Key Differences
medium.com Issue #279
If you’ve been coding in C# for a while, you’ve probably bumped into IEnumerable and IQueryable.
-
The Hidden Performance Traps in C# You’re Probably Ignoring
medium.com Issue #279
C# and the .NET runtime provide a modern, safe, and powerful development platform. However, performance pitfalls are everywhere — even in…
-
From JavaScript to C#: A Developer’s Guide to Transitioning from JavaScript to C# and .NET
javascript.plainenglish.io Issue #279
As a JavaScript developer, you might be used to dynamic typing, flexible syntax, and event-driven programming. However, what happens when… Continue reading on JavaScript in Plain English »
-
Why You Should Care About C#’s ‘Nullable Reference Types’
medium.com Issue #279
and How They Help Prevent Null-Related Errors Continue reading on Coinmonks »
-
Dependency Injection (DI) in .NET Core
medium.com Issue #279
For example : Continue reading on easydotnet »
-
Partial View vs ViewComponent in ASP.NET MVC/Core – A Complete Guide
c-sharpcorner.com Issue #279
Unlock the secrets of Partial Views and ViewComponents in ASP.NET MVC/Core! This guide dives deep into their differences, exploring usage, performance, and best-use cases. Learn when to use each for o...
-
Why ValueTask Can Save You from Async Overhead
mariemoalla.medium.com Issue #279
Asynchronous programming in C# is built on top of the Task and async/await model. For most scenarios, using Task is perfectly fine. But if…
-
Address Resolution Protocol (ARP) in Networking: How It Works
c-sharpcorner.com Issue #279
Unlock the secrets of ARP (Address Resolution Protocol)! This guide explains how ARP translates IP addresses to MAC addresses, enabling seamless communication on local networks. Learn about ARP reques...
-
The $2,000 Line of C# I Shouldn’t Have Written
towardsdev.com Issue #279
Why This Blog Matters Continue reading on Towards Dev »
-
The case of the crash on a null pointer even though we checked it for null
devblogs.microsoft.com Issue #279
A colleague was investigating a crash. The stack at the point of the crash looks like this: contoso!winrt::impl::consume_Windows_Foundation_Collections_IVectorView< winrt::Windows::Foundation::Coll...
-
What is the difference between linear and non-linear data structures?
c-sharpcorner.com Issue #279
Unlock the power of Data Structures and Algorithms (DSA) by understanding the core difference between linear and non-linear data structures. This guide breaks down the sequential nature of arrays, lin...
-
Using and authoring .NET tools
andrewlock.net Issue #279
In this post I describe some of the complexities around authoring .NET tools, specifically around supporting multiple .NET runtimes and testing in CI
-
Three Dots, Never the Same
medium.com Issue #278
3 dot years ago, today:
-
The C# Keyword That Makes Your Exceptions Free (But Nobody Uses It)
medium.com Issue #278
Why This Blog Matters Continue reading on Dev Genius »
-
If you need to generate realistic fake data in C#, try this library
medium.com Issue #278
From time to time, you may need to populate data in your database — for testing or just for mocking. Bogus gives us a simple way to do…
-
Top 10 Modern C# Performance Features That Made My .NET Apps 3x Faster
medium.com Issue #278
As a .NET developer working in high-stakes domains like legal practice management and insurance verification systems, performance isn’t… Continue reading on ILLUMINATION’S MIRROR »
-
The Union Revolution in C#: Closed Hierarchies, Case Declarations, and Safer APIs
medium.com Issue #278
If you’ve ever wished your C# code could precisely model “one of these types, but never anything else”, discriminated unions are about to…
-
How to Print PDF files in C# (Developer Tutorial)
c-sharpcorner.com Issue #278
IronPrint is a C#/.NET library for direct, reliable PDF printing. It supports silent printing, multi-page documents, duplex, and custom printer settings, enabling automated, professional printing for ...
-
How ValueTask Boosts .NET Performance with Zero Allocations
itnext.io Issue #277
Slash memory overhead in async C# code with practical ValueTask examples for high-throughput APIs Continue reading on ITNEXT »
-
How to Delete Blank Rows and Columns in Excel using C#
medium.com Issue #277
When working with Excel files, blank rows and columns may appear due to improper data formatting, extra spaces, or manual editing. These…
-
Introduction to Playwright and TypeScript for Automation Testing
c-sharpcorner.com Issue #277
Explore Playwright & TypeScript for automation testing! This guide covers setup, advantages over Selenium, and why TypeScript enhances reliability and scalability.
-
How to add Digital Signature in C# using KAiZEN APIs?
medium.com Issue #277
Easily add digital signatures to your applications!
-
C# 14 Will Change How You Code — Here’s Why
medium.com Issue #277
C# 14 ships with .NET 10 and brings a set of focused, developer‑friendly improvements: extension members, null‑conditional assignment…
-
.NET Command Shell Execution — Error — The directory name is invalid
medium.com Issue #277
This week my team experienced this error when executing commandline shell scripts through the System.Diagnostics.Process SDK: