← All talks

.NET Conference 2026 Romagna · December 2026 · Faenza, IT · Upcoming

I upgraded to .NET 11. Did my 2015 LINQ notice?

it Talk in Italian

Plenty of .NET applications carry LINQ queries written years ago, back when you did GroupBy and then Count, built dictionaries by hand and created a new list at every step. Upgrade to .NET 11 and do they get faster on their own, or is it worth rolling up your sleeves?

To find out we take a program that assigns deliveries to the vehicles of a fleet, written the old way on purpose, and measure it with BenchmarkDotNet on every version from .NET Framework 4.8 to .NET 11. Then we rewrite it with what .NET 11 and C# 15 offer today, such as FullJoin, CountBy and the new collection expressions, and measure it again. Finally we put it behind an API with EF Core 11 and PostgreSQL and load it with requests, to see how much of the gain is left once the database is in the way.

We go home knowing what to look for in our own code, and when it pays to upgrade, to rewrite, or to leave things as they are.