I have a collection of generic objects, each containing two properties -- ID and Name. The ID is populated, but the Name is not. Furthermore, I have a separate array that contains all ID-Name matches (it is a two dimensional array). I want to fill each Name property in each generic object using this array and the "Array.Find" method. Note that the "Find" method in "Array.Find" requires a predicate. I've seen multiple examples of this approach working with single-dimensional arrays; however, I've yet to come across any examples of how this is done with a 2-dimensional array.
I can loop through both the generics and the array to accomplish this but I really want to do it using the "Array.Find" approach.
Thanks in advance.