allPatches = patchFiles.Select(patchFile => Patcher.TryReadPatch(patchFile, true)).ToArray();

I don't understand what this line of code does....allPatches is a class, and patchFile is a string. What is this doing? And is there a way to do the same thing in C++?


This statement is a LINQ statement which selects all members of the list (or enumerable) named patchFiles which meet the condition of the method TryReadPatch (I don't know this method sorry) into an array named allPatches. I'm not sure if C++ makes use of LINQ, try a google search to see what you can come up with.

Ok thank you :) I can figure out the rest, just didn't understand the <= part of it.