Why OrderByDescending not recognized as build method

后端 未结 2 554
南笙
南笙 2020-12-21 15:06
private static void findNewestFile(List list)
{
    foreach (string dir in list)
    {
        var directory = new DirectoryInfo(dir);
        var file         


        
相关标签:
2条回答
  • Your code file need to include this:

    using System.Linq;
    
    0 讨论(0)
  • 2020-12-21 15:24

    Most probably you are missing using System.Linq

    0 讨论(0)
提交回复
热议问题