C#C
C#3y ago
28 replies
Grimsky.

❔ C# Math.Min/Math.Floor & Foreach/for

Hello, so my problem is quite bizarre, I have two somewhat similar solutions, but my concern impacts a very precise code, this is the same for both projects, it is the execution of a for i , which will then retrieve some information and then do a foreach , this foreach will include several calculations, except that for the first project, all of this takes 1 second and for the second it takes 6 seconds.

This action runs 100 times.
Was this page helpful?