Is the IEnumerable.OrderBy().First() optimisation in .Net Core 3.1 documented anywhere?

前端 未结 0 1682
别跟我提以往
别跟我提以往 2020-12-13 09:46

One of the .Net Core versions (I\'m not sure which) introduced an optimisation such that if you write code like this:

int smallest = new[]{ 7, 2, 4, 6, 0, 1,          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题