languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2466 articles Updated Page 30 of 99
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 30 of 99
Newest first
-
Building Zero-Allocation Parsers in C# .NET
jordansrowles.medium.com Issue #377
Creating a zero allocation parser in C# using ref struct.
-
10 C# Features You’re Probably Using Wrong
c-sharpcorner.com Issue #377
Avoid common C# pitfalls! Learn to use async/await, LINQ, records, and other features correctly for better performance, readability, and maintainability. Level up your C# skills!
-
Add Images to PDFs in C#: The Definitive Guide for Modern .NET Projects
medium.com Issue #376
If you’ve ever needed to add images to PDF in C#, you know it’s more than a checkbox on a requirements list. Whether you’re generating…
-
Exception Handling in C#: Why Your App Still Crashes Even With Try-Catch
medium.com Issue #376
I used to think my application was “safe” because I wrapped everything in try-catch.
-
Dotnet vs. Java in 2026: One for the Brain, One for the Backbone.
medium.com Issue #376
Hi everyone. I am a .NET developer. I’m new to writing blogs, and my English is not perfect. I make spelling mistakes and my sentences are…
-
How to Improve Performance in C# Applications
c-sharpcorner.com Issue #375
Boost C# app performance! Learn proven techniques: reduce allocations, use async, optimize data structures, and more. Build faster, scalable, reliable apps.
-
Collection Performance: High-Performance Collection Randomization in .NET
dotnettips.wordpress.com Issue #375
The article examines shuffling options in .NET 8, highlighting the performance of three APIs: LINQ.Shuffle(), Random.Shuffle(), and RandomNumberGenerator.Shuffle().
-
.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!