Comments on: Different Ways to Add Values to a C# Array https://code-maze.com/add-values-to-csharp-array/ Learn. Code. Succeed. Thu, 04 Apr 2024 16:02:36 +0000 hourly 1 https://wordpress.org/?v=6.7.5 By: Marinko Spasojević https://code-maze.com/add-values-to-csharp-array/#comment-7074 Tue, 13 Dec 2022 13:55:22 +0000 https://drafts.code-maze.com/?p=74071#comment-7074 In reply to Paul.

Hi Paul. For the article, we used .NET 6. But yes, LINQ did get faster in .NET 7, so if you want, feel free to fork the source code, upgrade the projects and libraries and just run the benchmark. I would be really interested to see if the LINQ method goes up a bit. IT was a big difference in .NET 6 though.

]]>
By: Paul https://code-maze.com/add-values-to-csharp-array/#comment-7073 Tue, 13 Dec 2022 13:48:34 +0000 https://drafts.code-maze.com/?p=74071#comment-7073 Have you benchmarked in .Net 7? LINQ in .Net 7 is much, much faster.

]]>