C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 25 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 25 of 94
Newest first
-
.NET 10 and C# 14 — Unbound generic types and nameof
henriquesd.medium.com Issue #375
Before C# 14, if you wanted to get the name of a generic class, like Logger, you could use the nameof operator, but you could not just refer to the class itself, instead, the compiler required you to ...
-
Result Pattern in C#
medium.com Issue #375
Learn how to handle errors without exceptions using a functional approach that makes your code cleaner and more maintainable.
-
Why Choosing the Wrong C# Collection Slowly Breaks Your Code
medium.com Issue #375
Choosing the right collection in C# is more than a coding detail — it’s a key design decision that affects your app’s stability…
-
Is C# Still Worth Learning for .NET Development?
c-sharpcorner.com Issue #374
Explore why C# remains a top choice for .NET development in 2026. Discover its job market demand, enterprise use, cloud capabilities, and beginner-friendly nature.
-
Encrypting Properties with System.Text.Json and a TypeInfoResolver Modifier (Part 1)
stevejgordon.co.uk Issue #374
In this multi-part blog series, we’ll build a reasonably full-featured code base for automatically encrypting/decrypting specific properties on types that are being serialised and deserialised using S...
-
How Does Garbage Collection Work in C#?
c-sharpcorner.com Issue #374
Unlock C#'s automatic memory management! Learn how garbage collection reclaims unused memory, preventing leaks and boosting performance. A must-read for C# developers!
-
What Are Delegates and Events in C#?
c-sharpcorner.com Issue #374
Unlock the power of C#! Learn delegates and events step-by-step with clear explanations and real-life examples. Master flexible communication and build robust applications.
-
Understanding this, base, and the Builder Pattern in C#
c-sharpcorner.com Issue #374
Demystifying C# object creation! Learn when to use 'this', 'base', and the Builder Pattern for efficient, readable code. Master constructor chaining and inheritance.
-
.NET 10 and C# 14 — The field keyword
henriquesd.medium.com Issue #374
In C#, we have two main options to use properties: Auto-implemented properties, which are concise but do not allow you to add logic in the property accessor, and the Manual properties, which require a...
-
Conditional Statements in C#
c-sharpcorner.com Issue #373
Master C# conditional statements! Learn to use if, if-else, switch, and the ternary operator for decision-making in your code. Includes practical examples and tips.
-
JavaScript to Blazor: Why C# Frontend Development Is the Future for Developers in India and Worldwide
c-sharpcorner.com Issue #373
Discover Blazor, the C# framework revolutionizing web development! Learn how it simplifies full-stack development, benefits .NET developers, and impacts the Indian tech scene.
-
.NET 10 and C# 14 — Extension members
henriquesd.medium.com Issue #373
Now, in C# 14, we have Extension Members, which allow us to add static members, such as methods and properties, to a type via an extension. For example, this is an extension method that checks if a st...
-
What is C# Used For in 2026?
c-sharpcorner.com Issue #373
Explore C#'s diverse uses in 2026: web, cloud, enterprise, games, mobile, and more. Discover why C# remains a top choice for developers seeking scalability and security.
-
Understanding C# Events Using a Simple ICU Example
c-sharpcorner.com Issue #373
Learn C# events with a simple ICU room example! Understand event declaration, subscription, and raising. Improve code maintainability and flexibility. Perfect for beginners!
-
New in .NET 10 and C# 14: Enhancements in APIs Request/Response Pipeline
blog.elmah.io Issue #373
.NET 10 is officially out, along with C# 14. Microsoft has released .NET 10 as Long-Term Support (LTS) as a successor to .NET 8. Like every version, it is not just an update but brings something new t...
-
What Is C#?
c-sharpcorner.com Issue #372
Discover C#, a powerful language by Microsoft for .NET development. Build web, desktop, cloud apps & more! Explore its features, uses, and career scope. Perfect for beginners!
-
Collection Expression Arguments in C# 15+
steven-giesel.com Issue #372
There is a nice proposal which would make collection expressions a bit better - Giving the users the ability to pass in arguments to the creation.
-
Type Casting and Comments in C#
c-sharpcorner.com Issue #372
Master C# type casting (implicit, explicit, Convert, Parse, TryParse) and comments (single-line, multi-line, XML). Write safe, readable, and maintainable code!
-
Loops in C# – A Complete Guide with break and continue
c-sharpcorner.com Issue #372
Master C# loops! This guide covers for, while, do-while, and foreach loops, plus break and continue statements. Learn to control program flow effectively.
-
Methods in C# – A Complete and Practical Guide
c-sharpcorner.com Issue #372
Master C# methods! This guide covers syntax, parameters, return values, overloading, static/instance methods, ref/out, and best practices for clean, scalable code.
-
Stop Writing Boilerplate: How C# Source Generators Are Saving MVVM
medium.com Issue #371
The “Manual Era” of C# is over. If you are still writing backing fields and PropertyChanged strings, you are paying a tax you no longer…
-
Implementing the Result Pattern in .NET: A Complete Guide
medium.com Issue #371
Implementing the Result Pattern in .NET: A Complete Guide Continue reading on .Net Programming »
-
C# 14 in .NET 10: language features that actually matter in production
medium.com Issue #371
C# 14 is not about syntactic novelty. It is about reducing friction in patterns teams already use: extensions, domain modeling, source…
-
Context Is the Bottleneck in Software Development
codeopinion.com Issue #371
Software development context is the real bottleneck, not writing code. AI can generate code fast, but without context, boundaries, and language, you get coupling and brittle systems. YouTube Check out...
-
Top 10 Errors Found in C# Projects in 2025
isitvritra101.medium.com Issue #370
The “optimization” that was supposed to speed things up? It created heap allocations on every call. Made everything slower.