I have two collections created within Silverlight each collection is created at separate times by different methods.
Method 1 creates a List<> titled person ( contains fields first name, last name age)
Method 2 created a List<> titled Phone ( contains phone number, cell number)
Is there a way within SL to combine these two Lists into one Collection that could then be bound to the view for display?
Example: combined into a collection that contained all properties (first name, last name age, phone number, cell number)
You’re looking for the
Zipfunction. It allows you to combine 2 collections into a single one by combining the elements of eache.I’m not sure if Zip is available on not in Silverlight. If not then here’s a definition of it