Skip to content

Files

Latest commit

8e8edaa · Sep 29, 2024

History

History
This branch is 3 commits behind linkdotnet/BlogExamples:main.

BenchmarkToArrayToListEF

ToArray(Async) vs ToList(Async) in Entity Framework 8

When retrieving data from your database with Entity Framework, there are two major options: ToArray and ToList. Besides the different return type, is there any significant difference in performance between the two? Let's find out!

Found here