languages
C# Articles, Tutorials & News
C# articles, tutorials, and news from the DotNetNews archive.
2322 articles Updated Page 48 of 93
Browse additional C# articles from the DotNetNews archive.
C# articles
Page 48 of 93
Newest first
-
Converting Excel to XML using C#
medium.com Issue #281
This article will share a lightweight and stable solution: using the free library to achieve efficient Excel to XML conversion via C#.
-
7 .NET 8 Features You're Not Using (But Should Be)
faciletechnolab.com Issue #281
Find out 7 underused C# 12 and .NET 8 features for cleaner, faster, and more efficient code. Code examples included.
-
Loading Data in ML.NET: A Beginner’s Guide with C# Examples
itnext.io Issue #280
Learn how to prepare and load data into ML.NET using binary files, in-memory collections, and CSV/text loaders, with clear code samples… Continue reading on ITNEXT »
-
Meet C# 13: Syntax That Looks Like JavaScript — Backed by Microsoft’s Safety
towardsdev.com Issue #280
C# just leveled up — and if you’ve ever wanted your C# code to feel as clean and intuitive as JavaScript, version 13 is your ticket… Continue reading on Towards Dev »
-
Understanding Threading/ Multithreading, and Async/Await in C#
itsshubhamk.medium.com Issue #280
Working with C# applications frequently involves time-consuming tasks like reading files, contacting APIs, and running database queries.
-
From SQL Stored Procs to Pure LINQ/Lambda in .NET:
dotnetfullstackdev.medium.com Issue #280
You’ve built everything in Microsoft SQL Server with stored procedures — fast, predictable, and close to the metal. Now you want the same…
-
Default keyword in C#
medium.com Issue #280
Have you ever been in a situation where you needed to initialize a variable but didn’t have a specific starting value for it yet? Maybe…
-
dotnet actions: C# scripting to the rescue
cazzulino.com Issue #280
What a monumental release for .NET scripting is .NET 10! The long journey that started with C# 9 top-level programs has finally culminated in a full-fledged scripting experience that leverages the ent...
-
Span and Memory in C#: Complete Guide to Zero-Allocation Performance in .NET
levelup.gitconnected.com Issue #280
Discover how Span<T> and Memory<T> revolutionize performance in .NET by eliminating unnecessary allocations. A comprehensive technical… Continue reading on Level Up Coding »
-
C# Tip: injecting and testing the current time with TimeProvider and FakeTimeProvider
code4it.dev Issue #280
Dates used to be difficult to test. But with TimeProvider and FakeTimeProvider, everything becomes possible!
-
Cancel requests correctly in C#
medium.com Issue #280
A short video I saw recently made me laugh — but also wince a little. It reminded me of how often we, as .NET developers, forget to cancel…
-
Stop Wasting Time: These .NET Packages Do the Hard Work for You
blog.stackademic.com Issue #280
Another carefully curated batch of hidden C# libraries That Do the Work, So You Can Take the Credit Continue reading on Stackademic »
-
Mastering Advanced LINQ in C# (Part 2) — Grouping, Joins, Nesting & Parallel Queries
frontend2backend.medium.com Issue #280
If you’re a C# developer, you already know that LINQ (Language Integrated Query) is one of the most powerful features in the .NET…
-
Handle Nulls Like a Pro: 6 Smarter Alternatives to Null-Forgiving in C#
medium.com Issue #280
Using the null-forgiving operator (!) too often usually points to a problem. Here are safer and cleaner ways to avoid it.
-
IEnumerable vs IQueryable in C#: The Key Differences
medium.com Issue #279
If you’ve been coding in C# for a while, you’ve probably bumped into IEnumerable and IQueryable.
-
The Hidden Performance Traps in C# You’re Probably Ignoring
medium.com Issue #279
C# and the .NET runtime provide a modern, safe, and powerful development platform. However, performance pitfalls are everywhere — even in…
-
From JavaScript to C#: A Developer’s Guide to Transitioning from JavaScript to C# and .NET
javascript.plainenglish.io Issue #279
As a JavaScript developer, you might be used to dynamic typing, flexible syntax, and event-driven programming. However, what happens when… Continue reading on JavaScript in Plain English »
-
Why You Should Care About C#’s ‘Nullable Reference Types’
medium.com Issue #279
and How They Help Prevent Null-Related Errors Continue reading on Coinmonks »
-
Dependency Injection (DI) in .NET Core
medium.com Issue #279
For example : Continue reading on easydotnet »
-
Partial View vs ViewComponent in ASP.NET MVC/Core – A Complete Guide
c-sharpcorner.com Issue #279
Unlock the secrets of Partial Views and ViewComponents in ASP.NET MVC/Core! This guide dives deep into their differences, exploring usage, performance, and best-use cases. Learn when to use each for o...
-
Why ValueTask Can Save You from Async Overhead
mariemoalla.medium.com Issue #279
Asynchronous programming in C# is built on top of the Task and async/await model. For most scenarios, using Task is perfectly fine. But if…
-
Address Resolution Protocol (ARP) in Networking: How It Works
c-sharpcorner.com Issue #279
Unlock the secrets of ARP (Address Resolution Protocol)! This guide explains how ARP translates IP addresses to MAC addresses, enabling seamless communication on local networks. Learn about ARP reques...
-
The $2,000 Line of C# I Shouldn’t Have Written
towardsdev.com Issue #279
Why This Blog Matters Continue reading on Towards Dev »
-
The case of the crash on a null pointer even though we checked it for null
devblogs.microsoft.com Issue #279
A colleague was investigating a crash. The stack at the point of the crash looks like this: contoso!winrt::impl::consume_Windows_Foundation_Collections_IVectorView< winrt::Windows::Foundation::Coll...
-
What is the difference between linear and non-linear data structures?
c-sharpcorner.com Issue #279
Unlock the power of Data Structures and Algorithms (DSA) by understanding the core difference between linear and non-linear data structures. This guide breaks down the sequential nature of arrays, lin...