0
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++?

Ty

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by MasterGberry
0

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.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.