C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 42 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 42 of 94
Newest first
-
A New Era of Developer Productivity with Vibe Coding with C# 13
c-sharpcorner.com Issue #306
C# 13 and vibe coding revolutionize developer productivity by reducing boilerplate, simplifying patterns, and promoting clean architecture. Learn how primary constructors, pattern matching, intercepto...
-
Difference Between Prompt Engineering and Context Engineering
c-sharpcorner.com Issue #306
Prompt Engineering teaches AI what to do; Context Engineering teaches AI what matters. Learn the difference between prompt and context engineering, their roles in generative AI, and how they shape the...
-
How to Disarm and Reconstruct Files in C#
cloudmersive.medium.com Issue #306
In this brief article, we’ll provide context for Content Disarm and Reconstruction (CDR) file sanitization in threat scanning workflows…
-
Polymorphism in C#: One Action, Many Forms
medium.com Issue #306
When I first heard the word polymorphism, I thought it sounded more like a biology term than a programming concept. Honestly, it felt like…
-
Understanding the Difference Between `readonly` and `const` in C#
medium.com Issue #306
Discover why these two keywords behave differently and how misunderstanding them can cause subtle bugs.
-
C# Without null: Implementing Option and Result Types in .NET
medium.com Issue #306
If your codebase looks like a haunted house of if (x == null) return;, it’s not “defensive.” It’s indecisive. Instead of sprinkling null…
-
C# at Scale: What I Learned Moving from Side Projects to Production Systems
medium.com Issue #305
The hard lessons of performance tuning, async pitfalls, and memory management in real-world .NET applications Continue reading on .Net Programming »
-
Cursor Introduces Plan Mode
c-sharpcorner.com Issue #305
Cursor's new Plan Mode boosts AI-assisted coding with structured plans, codebase research, and editable Markdown. Improve code quality & accuracy!
-
Modernizing Legacy C# Code: Refactoring Strategies Every Developer Should Know
c-sharpcorner.com Issue #305
Discover practical refactoring strategies using LINQ, pattern matching, and async/await. Learn how to simplify loops, improve string handling, implement proper logging, and leverage IHttpClientFactory...
-
Scaling .NET APIs with Ease: How I Used C# to Handle Millions of Requests
medium.com Issue #305
How I Rebuilt My API Infrastructure to Handle Load, Caching, and Concurrency the Right Way Continue reading on .Net Programming »
-
Interfaces in .NET: Building Robust and Maintainable Applications
medium.com Issue #305
Refined Topics
-
7 Types of Constructors in C#
medium.com Issue #305
Constructors are special methods that execute automatically when an instance of a class is created.
-
Validate Email Addresses with Regular Expressions in C#
c-sharpcorner.com Issue #305
Learn how to effectively validate email addresses in C# using regular expressions (regex). This guide covers practical regex patterns, from simple checks to more robust RFC-like validation. Explore sa...
-
⚡ Understanding Span and Memory in C#: The Hidden Power Behind Modern High-Performance .NET
mohit8830.medium.com Issue #304
List<T> = Flexible but slow (heap-based, many allocations) Span<T> = Ultra-fast, stack-based, local memory access Memory<T> = Async-safe…
-
How to Create a Custom .NET Package and Import It Locally
medium.com Issue #304
Creating a custom package is a great way to reuse common code across multiple projects.
-
Unsafe Code in C#: When and Why It’s Worth It
medium.com Issue #304
Discover how unsafe code in .NET lets you trade safety for speed, master pointers, and optimize performance-critical applications.
-
20 Killer C# One-Liners
medium.com Issue #304
A senior-dev grab bag of 20 practical C# one-liners — guards, LINQ, JSON, async timeouts — each with when to use and pitfalls. Copy, paste… Continue reading on Programming Letters »
-
Extension Methods in C#: Write Cleaner, Smarter, and More Reusable Code
rahulyadav9053.medium.com Issue #304
Make your C# code more expressive and readable by using extension methods — the hidden gem behind LINQ and fluent APIs. Learn how to use…
-
How .NET Code Works Behind the Scenes: Explained for Beginners
medium.com Issue #304
Ever wondered what really happens when you hit “Run” in a .NET app?
-
Advanced OOP Features in C#: Beyond the Four Pillars
medium.com Issue #304
When I first learned the four OOP pillars — encapsulation, inheritance, polymorphism, and abstraction — I thought I had unlocked the…
-
How the lock Keyword Works in C#: Thread Safety Demystified
medium.com Issue #304
Understand how the C# lock keyword prevents race conditions, how it works internally, and when to use advanced synchronization methods.
-
Master Static, Sealed, and Constructors in C# — Learn with a Real Bank Story
medium.com Issue #304
A beginner-friendly guide to understanding the most confusing C# keywords through a fun and realistic Bank example.
-
C# Channel Mastery: Advanced Patterns for Async Pros
blog.stackademic.com Issue #304
Part 5 in a beginner-friendly guide to thread-safe async messaging in .NET Continue reading on Stackademic »
-
Defensive Programming with Microsoft .NET: Anticipate Errors and Eliminate Bugs
dotnettips.wordpress.com Issue #303
This discusses the principles of defensive programming to enhance software development. It emphasizes error prevention strategies such as input validation, comprehensive error handling, and assumption...
-
The Specification Pattern in C#: Write Cleaner, More Maintainable Queries
medium.com Issue #303
Stop copying and pasting LINQ queries. Start writing reusable, testable specifications.