site image
Andrew Lock avatar

Andrew Lock

Source Code Dive
  1. Loading...
  2. Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

    30% off with code ANDREW30 on Dometrain Pro
  3. ASP.NET Core in Action, Third Edition

    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.

  4. Banner image for Behind the scenes of dotnet run app.cs

    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…

     in  .NET 10C#Source Code Dive
  5. Banner image for Exploring the generated code: the spread element

    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…

     in  C#.NET 8Source Code Dive
  6. Banner image for Exploring the generated code: T[], Span<T>, and Immutable collections

    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…

     in  C#.NET 8Source Code Dive
  7. Banner image for Exploring the generated code: List<T> and fallback cases

    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…

     in  C#.NET 8Source Code Dive
  8. Banner image for Implementing Dijkstra's algorithm for finding the shortest path between two nodes using PriorityQueue in .NET 9

    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…

  9. Banner image for Behind the implementation of .NET's PriorityQueue

    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…

Andrew Lock | .Net Escapades
Want an email when
there's new posts?