I have a line of code in C# which neatly creates an array:
string sourceFiles = Directory.GetFiles(lblSourcePath.Text, "*.sys", SearchOption.AllDirectories);
What I would like it to do is get the version number of the file and populate the second part of the multi dimensional array, sourceFiles. Is this possible without a long winded solution? Obviously I can take the results of this and then get the version numbers afterwards and then populate an array but I would like to do it at the same time the array above is populated which would hopefully mean a speed increase.