C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2334 articles Updated Page 27 of 94
C# articles, tutorials, and news from the DotNetNews archive.
C# articles
Page 27 of 94
Newest first
-
Understanding Interfaces in C#: Why Default Interface Implementations Exist Alongside Abstract Classes
c-sharpcorner.com Issue #363
Explore C# interfaces, their importance, and the evolution to default implementations in C# 8. Learn how this feature solves backward compatibility issues and enables safer software evolution in enter...
-
Type Conversion in C# [ENG]
medium.com Issue #363
Type conversion is changing one data type into another so it can be used differently.
-
C# 14 Improved Lambda Expressions: Using ref, in, and out Parameters for High-Performance Code
c-sharpcorner.com Issue #363
Explore C# 14's enhanced lambda expressions with 'ref', 'in', and 'out' parameters. Boost performance, readability, and code consistency for critical operations.
-
Let’s Set Up C# & Write Your First Code! (Part 2)
medium.com Issue #363
Installing the tools and saying “Hello World” — step by step with pictures!
-
C# 14 Extension Members: Complete Guide to Properties, Operators, and Static Extensions
laurentkempe.com Issue #363
Extension methods have been a core C# feature since version 3.0, enabling developers to add methods to types without modifying source code. With C# 14 and .NET 10, Microsoft introduces extension membe...
-
C# 14 in Action: High-Performance Lambda Expressions with Parameter Modifiers
c-sharpcorner.com Issue #363
Explore C# 14's enhanced lambda expressions with parameter modifiers (ref, in, out) for high-performance code, clearer intent, and expressive APIs. Optimize your C#!
-
C# Major Scale On Piano: Easy Tutorial For Beginners | Music Simply Understood #music #C-sharpmajor [b76273]
news.google.com Issue #363
C# Major Scale On Piano: Easy Tutorial For Beginners | Music Simply Understood #music #C-sharpmajor [b76273]
-
Top 10 errors found in C# projects in 2025
unicorn-dev.medium.com Issue #363
Throughout 2025, the PVS-Studio team has been actively checking open-source C# projects. Over the year, we discovered plenty of defects…
-
C# 14 Null-Conditional Assignment: Practical Examples and Best Practices
c-sharpcorner.com Issue #362
Master C# 14's null-conditional assignment (?.=) for cleaner, safer code! Learn practical examples, best practices, and when to use (or avoid) this powerful feature. Prevent NullReferenceExceptions an...
-
C# 14 More Partial Members: Partial Events and Partial Constructors
laurentkempe.com Issue #362
In C#, partial has long been a practical bridge between human-authored code and tool-generated code. With C# 14, that bridge gets wider: instance constructors and events can now be declared as partial...
-
The New field Keyword in C# 14: Practical Usage, Examples, and Best Practices
c-sharpcorner.com Issue #362
Explore C# 14's `field` keyword: simplify property logic, eliminate backing fields, and boost code readability. Learn practical uses, best practices, and performance tips.
-
What Does typeof Really Do in C#? typeof, GetType() and IsAssignableFrom
medium.com Issue #362
When learning C#, you will inevitably come across typeof. Especially when reading EF Core, infrastructure, or framework-level code. For…
-
Learning C#? Let’s Start Together! (Part 1: Hello, C#!)
medium.com Issue #362
My journey from “What is this?” to “Hey, I can build things!”
-
Records in C#: The Feature That Quietly Changed How I Write Code
medium.com Issue #362
At first glance, the records look like just shorter classes.
-
How to Read Excel Files with C#
medium.com Issue #362
This article walks you through a simple, high-efficiency solution to read Excel files with C# (no Office installation required).
-
Swapping two blocks of memory that reside inside a larger block, in constant memory
devblogs.microsoft.com Issue #362
Suppose you have a large block of memory, and you want to swap two blocks that reside inside that large block. For concreteness, say you have a block of memory of the form A1, A2, B1, B2, C1, C2, D1, ...
-
Partial Events and Constructors in C# 14 (.NET 10) Explained with Examples
c-sharpcorner.com Issue #365
Explore C# 14's partial events & constructors! Simplify code generation, enhance extensibility, and cleanly separate generated & handwritten logic. #CSharp #dotnet
-
Channels in C# .NET: Building High-Performance Concurrent Pipelines
medium.com Issue #365
Concurrency is one of those topics that looks simple on the surface and becomes painful in real systems. Threads, locks, queues, and…
-
.NET 10 & C# 14: Less Code, Better Performance
medium.com Issue #365
.NET 10 and C# 14 are out, delivering practical improvements that make code cleaner and data processing faster. Unlike some releases…
-
Leveraging Span-Based String Concatenation for Improved Performance
dotnettips.wordpress.com Issue #365
The excerpt from "Rock Your Code" emphasizes the importance of efficient string concatenation in .NET. It highlights the advantages of using the Span type over traditional methods, demonstra...
-
Does C# 14’s field Keyword Replace FluentValidation?
medium.com Issue #365
The release of C# 14 came with loads of new features, the field keyword being one of them. When I read about it, I thought— what does this…
-
Value Types and Reference Types in C#
c-sharpcorner.com Issue #365
Unlock C# mastery! This guide clarifies value vs. reference types, impacting memory, performance, and bug prevention. Essential for efficient .NET development.
-
Handling Time Zones & Dates Correctly in .NET
malshikay.medium.com Issue #361
Handling dates and time zones may look easy at first. But as soon as an application is used by people in different regions, date-time bugs…
-
3x Faster, 99.9% Less Memory: Optimizing .NET String Processing
medium.com Issue #361
I recently optimized a simple log parsing function and the results shocked me: Continue reading on .Net Programming »
-
Stop Writing C# Like It’s 2012: 5 Killer Features to Slash Your Boilerplate
medium.com Issue #361
How modern C# evolution is turning “Ceremony” into “Productivity” — and how you can benefit.