languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2466 articles Updated Page 33 of 99
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 33 of 99
Newest first
-
.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...
-
C# 14’s Null-Safe Member Assignment — Stop Writing Null Checks
codeexact.medium.com Issue #358
Say goodbye to verbose null-checking boilerplate. C# 14 introduces null-safe member assignment — a practical feature that lets you check…
-
Stop using Exceptions to control flow in .NET. It’s time to embrace the “Result” pattern.
medium.com Issue #358
Why try/catch blocks are ruining your API's readability and performance, and the functional approach senior developers use instead.
-
-
C# Channels Explained — From Producer-Consumer Basics to High-Performance .NET Systems
medium.com Issue #357
C# Channels provide a precise way to control flow, apply backpressure, and coordinate async work inside high-traffic .NET applications.
-
Why We Abandoned Enums for Strings in Our .NET gRPC Service
medium.com Issue #357
Here is the story of why we spent hours fighting the Protobuf specification, and why we ultimately decided to serialize our Enums as…
-
How Do C# Records Improve the Design of Data Transfer Objects (DTOs) in .NET Applications?
c-sharpcorner.com Issue #357
Discover how C# records revolutionize DTO design in .NET! Learn why they're often superior to classes for data transfer, offering immutability, and value-based equality.