languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2552 articles Updated Page 9 of 103
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 9 of 103
Newest first
-
C# Union Types Explained: What's New in .NET 11 and When to Use Them
c-sharpcorner.com Issue #508
Explore C# Union Types in .NET 11! Learn how they simplify handling multiple outcomes, improve type safety, and lead to cleaner, more maintainable code.
-
Top 30 .NET Interview Questions for 2+ Years Experience (With Simple Answers & Examples) — Part 1…
medium.com Issue #508
Preparing for a .NET interview can be overwhelming, especially when there are hundreds of concepts to learn.
-
Garbage Collection in C#: How .NET Automatically Manages Memory
c-sharpcorner.com Issue #507
Learn how .NET's Garbage Collection automatically manages C# memory, preventing leaks and improving app reliability by reclaiming unused objects.
-
Advanced LINQ Performance: Hidden Costs Every C# Developer Should Know
c-sharpcorner.com Issue #507
Unlock LINQ's power in C#! Discover hidden performance costs and learn practical techniques for efficient, production-ready code.
-
Delete AutoMapper: explicit, compile-time DTO mapping that you can actually test
medium.com Issue #507
Reflection-based mappers feel like they save you work until the day a renamed property silently maps to null in production. Here is the…
-
What is the ICloneable interface and how is it used?
medium.com Issue #507
ICloneable is a built-in .NET interface with a single method object Clone();
-
C# 14 Union Types with Practical Examples
c-sharpcorner.com Issue #507
Explore C# 14 Union Types: a powerful feature for cleaner, type-safe code. Learn practical examples and benefits over traditional approaches.
-
Write Better C# with These 15 Productivity Tricks
medium.com Issue #507
As C# continues to evolve, it introduces features that make code cleaner, more expressive, and easier to maintain. Whether you’re a…
-
LINQ in C#: The Complete Beginner’s Guide with Practical Examples (Part 3)
medium.com Issue #507
Understanding OrderBy(), OrderByDescending(), ThenBy(), Reverse(), Select(), and SelectMany()
-
Machine Learning with ML.NET: Two Practical Series
medium.com Issue #506
Over the past few weeks, I’ve published two article series about Machine Learning with ML.NET, exploring practical AI applications within… Continue reading on .Net Programming »
-
Check if an Array Can Represent Preorder Traversal of a BST
c-sharpcorner.com Issue #506
Learn how to validate if an array represents a BST's preorder traversal using a stack and lower bound logic. Efficient O(n) solution.
-
What's New in C# 14: Features Every .NET Developer Should Know
c-sharpcorner.com Issue #506
Discover C# 14's key features: enhanced collection expressions, pattern matching, null safety, and compiler optimizations for .NET developers.
-
Mastering Channels in C#: Async Producer/Consumer With Backpressure
medium.com Issue #506
From first principles to a production ingestion pipeline: backpressure, completion, and fault propagation done right
-
Interfaces in C#: The Complete Practical Guide Every .NET Developer Should Master
c-sharpcorner.com Issue #505
Master C# interfaces: the contract that separates 'what' from 'how', enabling flexible, testable, and maintainable .NET applications.
-
I Squeezed 100 C# Concepts Into 100 Minutes. Here’s Why.
medium.com Issue #505
A few weeks ago I was answering the same question for maybe the tenth time: “Where do I actually start with C#?”
-
Mastering Async Streams in C#: IAsyncEnumerable Guide
medium.com Issue #505
Stream data as it arrives in C#. Master IAsyncEnumerable, await foreach, cancellation gotchas, Channels, and .NET 10's built-in async LINQ
-
LINQ Execution: Immediate vs. Deferred (And Why It Matters More Than You Think)
medium.com Issue #505
If you’ve worked with LINQ in C# for any length of time, you’ve probably run into a bug that made no sense at first glance — a query…
-
Advanced C# Pattern Matching: Practical Examples Every Developer Should Know
c-sharpcorner.com Issue #505
Master advanced C# pattern matching: type, property, relational, logical, list, and switch expressions for cleaner code.
-
You don't need to create all properties inside a DTO to successfully deserialize
c-sharpcorner.com Issue #504
Short example on JSON serialisation aimed to combat excessive use of JObjects
-
C# ToString(), operators and indexers - Are you using these?
roundthecode.com Issue #504
Learn how to override ToString(), overload operators and use indexers in C# classes, featuring examples of addition and subtraction. The page C# ToString(), operators and indexers - Are you using thes...
-
Building an AI-Powered Knowledge Base Using Vector Databases and C#
c-sharpcorner.com Issue #504
Build AI-powered knowledge bases with C# & vector databases for semantic search, understanding user intent & delivering accurate, context-aware answers.
-
RAG explained in C#
medium.com Issue #504
Retrieval-Augmented Generation (RAG) combines a large language model (LLM) with search over your own knowledge base. Instead of only…
-
SOLID Principles Explained with C# Examples (Simple + Interview-Friendly)
medium.com Issue #504
Introduction
-
Handling Timeouts in C# like a pro
truestorydavestorey.medium.com Issue #504
I’ve been a software engineer for approximately 20 years, and during that time there’s been one recurring theme that has always surprised…
-
LINQ in C#: The Complete Beginner's Guide with Practical Examples (Part 2)
medium.com Issue #504
Understanding Single(), SingleOrDefault(), Last(), and LastOrDefault()