C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 52 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 52 of 94
Newest first
-
5 .NET Core Code Patterns for Bulletproof FDA-Compliant MedTech Software
faciletechnolab.com Issue #270
Build bulletproof FDA-compliant MedTech software with these 5 .NET code patterns. Ensure audit trails, e-signatures & HIPAA security. Download our free checklist.
-
What are the difference between a function and a method in C# ?
c-sharpcorner.com Issue #269
Understanding the difference between a function and a method is crucial for every C# developer. While both perform operations and return results, their usage and context differ. In this article, we’ll...
-
From Stack to Span<T> — A Recap into C#’s Memory
c-sharpcorner.com Issue #269
Explore C# memory management, from stack vs heap to structs and contiguous memory. Learn how Span<T> enables efficient slicing without allocations, optimizing performance and reducing GC overhead i...
-
8 Simple Tricks to Make Your Code Look Professional Overnight
medium.com Issue #269
Transform messy code into clean, readable work fast. Continue reading on Nerd For Tech »
-
11 LINQ Calls Microsoft Engineers Replace for Up to ~2× Throughput
blog.devgenius.io Issue #269
(With analyzers, docs, and a reproducible benchmark harness) Continue reading on Dev Genius »
-
C# Boxing: A Hidden Performance Enemy (Defeat It Now)
levelup.gitconnected.com Issue #269
Master boxing in C# to write faster, cleaner code. Continue reading on Level Up Coding »
-
What is the difference between == and .Equals() in C#?
medium.com Issue #269
In C#, both == and .Equals() are used to compare values, but they differ in behavior and purpose.
-
Stop Using Try-Catch for Everything — Microsoft’s Real Error Handling Patterns in C#
blog.devgenius.io Issue #268
Structured exception handling is powerful — but if you treat try-catch as your only error-handling tool, you’re silently breaking… Continue reading on Dev Genius »
-
The 5 C# Features Good Developers Know But Never Use
medium.com Issue #268
When I look back at my early years as a C# developer, I realize I wasn’t making obvious rookie mistakes — my code compiled, it worked, and…
-
The Hidden C# 13 Features That Make Your Code Faster, Safer, and AI-Ready
blog.devgenius.io Issue #268
C# 13 didn’t make huge headlines like record types in C# 9 or raw string literals in C# 11. Continue reading on Dev Genius »
-
5 .NET Hacks So Good, You’ll Want to Refactor Your Whole Codebase
blog.stackademic.com Issue #268
Modern C# power moves that make your old code cry. Continue reading on Stackademic »
-
The Beauty of Marker Interfaces and Reflection in .NET
medium.com Issue #267
In software architecture, it’s often necessary to identify and process specific groups of classes in a uniform manner. Common scenarios…
-
When to Use Generic vs Non-Generic Collections in C#
mariemoalla.medium.com Issue #267
Collections are a fundamental part of any application that manages data. In C#, you have two primary options for working with collections…
-
The Art of Disposal: Mastering IDisposable in C#
blog.stackademic.com Issue #267
Avoid leaks and write robust, maintainable .NET applications like a pro Continue reading on Stackademic »
-
Everything You Need to Know About the Latest in C#
youtube.com Issue #267
Async EF Core: Supercharging Queries with ValueTask & AsNoTracking
-
What is Binary Search Algorithm and How It Works with Examples.
c-sharpcorner.com Issue #267
Understand the Binary Search algorithm in depth — how it works, step-by-step process, real-world use cases, and practical Java examples. Perfect for beginners and intermediate learners in Data Structu...
-
Difference Between ref, out, and in Parameters in C#
c-sharpcorner.com Issue #267
Learn the difference between ref, out, and in parameters in C#. Understand their usage, advantages, disadvantages, and see full real-world examples.
-
From “Why won’t this button do anything?” to Clean Blazor Callbacks (Server & WASM)
blog.venturemagazine.net Issue #267
I still remember shipping a “simple” child form and wondering why nothing updated in the parent. Spoiler: I’d passed an Action when I… Continue reading on Venture »
-
Why Your CancellationToken Doesn’t Actually Cancel Anything (Most of the Time) — And the…
blog.devgenius.io Issue #267
🧠 Why This Blog Matters Every .NET dev has written something like this: Continue reading on Dev Genius »
-
C# Extension Methods Every Corporate Developer Wishes They Had
medium.com Issue #267
We’ve all been there — drowning in enterprise code that feels like it was written during the Roman Empire, sprinkled with copy-paste…
-
Clean Code Approach in C#
medium.com Issue #266
Clean code is a concept that emphasizes writing code that is easy to read, understand, and maintain. The principles of clean code can be…
-
Logs That Tell the Full Story: CallerMemberName, CallerLineNumber, CallerFilePath
medium.com Issue #266
Let’s be real — debug logs are supposed to be our lifesavers, but half the time they read like: “Something broke. Figure it out, champ.” Continue reading on CodeToDeploy : The Tech Digest »
-
Struct vs Class in C# — Beginner-Friendly Deep Dive
malshikay.medium.com Issue #266
Struct VS Class in C#
-
How to Build a .NET Document Scanner with C# and Windows OCR API
dynamsoft.com Issue #265
In today’s digital workplace, document scanning and text recognition are vital capabilities for many business applications. In this…
-