languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 27 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 27 of 93
Newest first
-
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.
-
The C# ‘Best Practice’ that is secretly killing your API performance
medium.com Issue #361
The “Best Practice” that is secretly exhausting your server’s sockets. Continue reading on Readers Club »
-
ToonEncoder — A JSON-Compatible Format Encoder for C# and LLMs
neuecc.medium.com Issue #360
I’ve created a serializer (encode-only) for Token-Oriented Object Notation (TOON), a JSON-compatible format. When used appropriately, TOON…
-
C# 14 Field Keyword: Simplifying Property Accessors
laurentkempe.com Issue #360
C# 14 introduces the field keyword, a contextual keyword that reshapes how we write property accessors. This feature eliminates the need for explicit backing fields while maintaining full control over...
-
Partial Constructors in C# 14 (.NET 10) - A Game-Changing Feature
c-sharpcorner.com Issue #359
C# 14 introduces Partial Constructors, a game-changer for .NET 10! Split constructor logic across files, enhance source generator support, and improve maintainability. Build modular, scalable applicat...
-
Building AI-Ready Applications with Model Context Protocol in C#
medium.com Issue #359
Learn how to build MCP servers and clients in C# using the official SDK, and connect your .NET applications with AI models in a standard…
-
What’s New in C# 14 (.NET 10): 7 Powerful Language Features Every C# Developer Should Know
c-sharpcorner.com Issue #359
Explore C# 14's powerful features in .NET 10! Boost productivity with extension members, extension operators, field keyword, null-conditional assignment, and more. Write cleaner, safer, and faster cod...
-
When Static Validations No Longer Have Power
medium.com Issue #358
Reconfigurable Request Validations Using Compiled Expressions in .NET
-
EF Core + LINQ: The Real-World Guide Every C# Developer Wishes They Had Earlier
towardsdev.com Issue #358
A practical, example-rich guide to understanding how LINQ behaves inside EF Core — with real problems, real fixes, and clean explana Continue reading on Towards Dev »
-
ToList() vs ToArray() in C#: The Performance Guide Every Developer Needs
towardsdev.com Issue #358
Most .NET developers default to ToList() without knowing it wastes 24–31% more memory. Here’s when to use ToArray() instead. Continue reading on Towards Dev »
-
Why Choose C# and .NET as My Programming Language?
news.google.com Issue #358
Why Choose C# and .NET as My Programming Language?
-
C# 14 Null-conditional Assignment: Complete Guide to Elegant Null Handling
laurentkempe.com Issue #358
If you've been working with C# since the introduction of null-conditional operators in C# 6.0, you've likely appreciated how ?. and ?[] simplified null-checking when reading values. But what about wri...
-
How to Build a High-Performance Cache Without External Libraries
milanjovanovic.tech Issue #358
Learn how to build a high-performance cache from scratch in .NET, moving from a simple ConcurrentDictionary to an optimized keyed-locking system. This deep dive explores how to master concurrency patt...