I have FileInfo[] fileInfos
I want to populate
string[] filesNames and List<string> fileNamesList using LINQ expression, how should I do it?
I have FileInfo[] fileInfos I want to populate string[] filesNames and List<string> fileNamesList using
Share
FileInfohas aNameproperty, soI don’t see why you would need both a
Listand an array though.