array of fileinfo

  1. D

    FileInfo[] = dir.GetFile();

    Hello all, A question from a newbie regarding c# Why an array of FileInfo objects does not need a "new" in order to allocate space and I am unable to find any" new FileInfo"out of the small programI am studying??? The line is FileInfo[] files = dir.Getfile(); //dir is from DirectoryInfo...
Top Bottom