- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

Behind the scenes of dotnet run app.cs
Exploring the .NET 10 preview - Part 2
In this post I looks at how the new single-file .NET run experience is implemented inside the .NET SDK, focusing on how the virtual-project file is built…

Exploring the generated code: the spread element
Behind the scenes of collection expressions - Part 4
In this post I show what the compiler generates when you use collection expressions with the spread element and how it depends on the collections used…
![Banner image for Exploring the generated code: T[], Span<T>, and Immutable collections](/content/images/2024/collection_expressions_banner_3.png)
Exploring the generated code: T[], Span<T>, and Immutable collections
Behind the scenes of collection expressions - Part 3
In this post I look at the code generated when you use collection expressions with T[], ReadOnlySpan<T>, Span<T>, and immutable collections…

Exploring the generated code: List<T> and fallback cases
Behind the scenes of collection expressions - Part 2
In this post I look at the code generated when you use collection expressions with List<T> or with types that can be used with collection initializers…

Implementing Dijkstra's algorithm for finding the shortest path between two nodes using PriorityQueue in .NET 9
In this post I describe Dijkstra's algorithm for finding the shortest path between two nodes and how you can implement it with the PriorityQueue type in .NET 9…

Behind the implementation of .NET's PriorityQueue
In this post I show how .NET's PriorityQueue implements its methods and relate these methods to operations on a min-heap data structure…

