.NET Performance: ToList vs ToArray
.NET 9 brings significant improvements to LINQ’s ToArray method, both in terms of speed, as well as memory allocation. To achieve this, the new implementation makes use of new runtime features such as InlineArray and ArrayPool to significantly reduce memory allocations and improve speed, especially when dealing with an IEnumerable<T> of unknown length. If you’re curious about…

C# 13: Use params collections with any recognized collection type
The params modifier in C# has traditionally been associated with array types, allowing methods to accept a variable number of arguments. However, starting with C# 13, you can now use params collections with a variety of collection types, broadening its applicability and making your code even more versatile. Supported collection types The params modifier now…
How to switch to C# 13
While trying out C# 13 features, it’s possible you might come across errors similar to these: Feature is not available in C# 12.0. Please use language version 13.0 or later. or Error CS8652: The feature ‘<feature name>’ is currently in Preview and unsupported. To use Preview features, use the ‘preview’ language version. There are two…
C# language version history
C# 1.0 Introduced with .NET Framework 1.0 in January 2022, C# 1.0 established the foundation of the language with basic object-oriented programming features, including classes, structs, interfaces, events, properties, and delegates. The language had the following goals: C# 2.0 Introcudec in 2005, this version brought significant enhancements such as generics for type-safe data structures, anonymous…
What’s new in .NET 10
.NET 10 will be released in November 2025. .NET 10 is a Long Term Support (LTS) version, which will receive free support and patches for 3 years from the release date, up until November 2028. .NET 10 is currently in preview: End of support .NET 10 is a Long Term Support (LTS) version, and will…
What’s new in C# 14.0
C# 14.0 will be released in November 2025, at the same time as .NET 10. C# 14.0 is currently in preview:
Python: Detect text language using Azure AI Language service
The Azure AI Language service provides developers with an API for common text analysis techniques, such as the ability to detect language from text, perform sentiment analysis, key phrase extraction, and named entity recognition and linking. Provisioning The first step in analyzing text with Azure AI Language is provisioning a Language service resource in Azure….
How to: Add AdMob to your MAUI app
One of the first things people think about when developing for a new platform / using a new technology is monetization; and in my case the question is: how easy is it to integrate AdMob? For .NET MAUI the answer would be: “It depends” – it depends on luck & on the complexity of what…
How to: Detect text language using Azure AI Language service
The Azure AI Language service provides developers with an API for common text analysis techniques, such as the ability to detect language from text, perform sentiment analysis, key phrase extraction, and named entity recognition and linking. Provisioning The first step in analyzing text with Azure AI Language is provisioning a Language service resource in Azure….
Getting started with .NET Aspire
This article will guide you through building your first .NET Aspire application. If you want an overview of .NET Aspire and what it brings to the table, check out our What is .NET Aspire article. Prerequisites There are a few things you need to have ready before you get started with .NET Aspire: If you…
How to install .NET Aspire
.NET Aspire is a comprehensive, cloud-oriented framework designed for creating scalable, observable, and production-grade distributed applications. In this article we’ll look at the prerequisites of getting started with .NET Aspire. If you want an overview of .NET Aspire and what it brings to the table, check out our What is .NET Aspire article. There are…