directoryinfo

directoryinfodirectoryinfo
  1. Currently the methods on Directory and DirectoryInfo return arrays .

    目前,Directory和DirectoryInfo的方法是返回数组。

  2. With the addition of IEnumerable support for Directory and DirectoryInfo , the first file in the directory can be accessed immediately while the rest of the list is lazily populated .

    随着IEnumerable对Directory和DirectoryInfo的额外支持,在目录的第一个文件被即刻访问时,列表的其余文件则可以延迟生成。