IEnumerable<> vs List<> as a parameter

前端 未结 0 1878
-上瘾入骨i
-上瘾入骨i 2021-01-05 04:49

In general I tend to use IEnumerable<> as the type when I pass in parameters. However according to BenchmarkDotNet

    [Benchmark]
    public void Enume         


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