languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 34 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 34 of 93
Newest first
-
The Magic of Extension Methods in C#: Write Cleaner, Flexible Code
medium.com Issue #330
If you’ve ever found yourself writing “helper functions” in C# — like UserHelper.IsValid(user) or DateUtils.ToReadableTime()—you've…
-
Old API, New Tricks: Add MCP to Existing .NET REST Endpoints
youtube.com Issue #330
In this session, we’ll explore how to breathe new life into your existing ASP.NET Web API endpoints built with ASP.NET CORE by adding Model Creation Protocol (MCP) capabilities to them. .NET 10 — The ...
-
Task vs ValueTask in C#
medium.com Issue #330
Asynchronous programming is a core part of modern .NET applications. But when it comes to performance-sensitive code, developers often…
-
Understanding Mutability in Data Types
c-sharpcorner.com Issue #330
Unlock the secrets of mutability in C#! Learn the key differences between mutable and immutable data types, their impact on performance, and best use cases. Master C# data types!
-
C#: Demystifying Value Types, Reference Types, and the Null That Haunts Your Dreams
medium.com Issue #330
Have you ever changed one variable in your C# code only to discover another variable — one you haven’t touched — changed out of pure spite…
-
Stop Reinventing the Wheel: These .NET Packages Work Smarter, So You Don’t Have To
medium.com Issue #329
A new round of underrated C# tools that quietly do the heavy lifting. Continue reading on Stackademic »
-
.NET 10 & C# 14 Just Rewrote the Rulebook — 17 Features That Will Change How You Code Forever
blog.stackademic.com Issue #329
From file-based apps to EF Core’s JSON magic and Blazor’s WASM power-ups — discover the upgrades that will reshape API design… Continue reading on Stackademic »
-
Database Sharding in Simple Terms — With a Real-World Analogy and C# Examples
dotnetfullstackdev.medium.com Issue #329
When traffic is small, a single database server feels more than enough. But as your application grows, one day you hit the wall:
-
What Sealed Classes Really Do — and Why Most Devs Ignore Them
levelup.gitconnected.com Issue #329
Let’s be real — nobody gets out of bed excited to talk about sealed classes. They’re like the uninvited guest in the C# family photo —… Continue reading on Level Up Coding »
-
The Ultimate Guide to HttpClientFactory in C#: Master the Art of HTTP Calls
medium.com Issue #329
Friend link :- Read full story for free!
-
-
What’s New in C# 14: Transforming .NET Coding
medium.com Issue #329
C# 14 is here, and it’s packed with updates designed to make your code cleaner, faster, and more enjoyable to write.
-
-
5 .NET Async Habits That Separate Senior Engineers From Everyone Else
blog.stackademic.com Issue #328
Real patterns that scale instead of silently breaking under load Continue reading on Stackademic »
-
The Hidden C# Bug That Passes Every Test — Until It’s Too Late
medium.com Issue #328
Discover how a tiny check involving negative values can cause catastrophic system behavior. This deep dive reveals why so many senior devs…
-
50 C#/.NET Code Hacks to Improve Fast
amarozka.dev Issue #328
Real C#/.NET tips with short code samples. Cleaner syntax, safer async, faster APIs, fewer bugs. Copy‑paste ready and team‑friendly. Continue reading on .Net Code Chronicles »
-
️Defensive Coding in .NET — How to Make Bugs Afraid of You
medium.com Issue #327
“You deploy your code on Friday evening. Everything looks perfect… until Monday morning when a null reference breaks production.”
-
GitHub Actions DevOps Pipelines as Code using C# and Cake SDK
youtube.com Issue #327
C# Property Patterns — Writing Readable “Checklists” for Your Objects
-
Stop Using Regular Enums: Create Smart, Feature-Rich Enums in C# (.NET Tutorial)
shahedbd.medium.com Issue #327
Why Your Enums Are Holding You Back (And What to Do About It)
-
Static classes in C# -.NET Core
medium.com Issue #327
A static class is a class that cannot be instantiated. we cannot use the new keyword to create objects of a static class. Instead, all…
-
Understanding Span<T> in C#
c-sharpcorner.com Issue #327
Learn how it provides a zero-allocation view over memory for arrays, strings, and more, boosting efficiency and reducing GC overhead
-
Understanding Covariance, Contravariance & Invariance in C# — The Complete Practical Guide
medium.com Issue #327
If you’ve ever worked with generics, delegates, or LINQ in C#, you’ve already used variance — even if you didn’t know its name.
-
What you need to know about Extension Members in C#
c-sharpcorner.com Issue #327
Learn how to extend existing types without modification, adding functionality and improving code readability.
-
Understanding Inheritance in C# WebForms
c-sharpcorner.com Issue #326
Learn C# inheritance in WebForms! This tutorial shows how to create a base `Employee` class and extend it with a `Manager` class, demonstrating code reuse.
-
How to Encrypt PAN in JavaScript and Decrypt in C#
c-sharpcorner.com Issue #326
Secure sensitive data like PAN by encrypting it client-side with CryptoJS, decrypting server-side in C#, and preventing storage in ViewState. Protect data in transit and at rest.