Hello,
I have a system.collections.generic.list(of ListBox)
I would like to use the collection classes built-in Find method to find a particular ListBox by the Name of the Listbox
I found the following MSDN article
http://msdn.microsoft.com/en-us/library/x0b5b5bc.aspx
This does not work for me because it does not show how to find a SPECIFIC instance in the collection by the collection name.
The example hard codes the search String of "saurus" into the Find predicate. I want to pass in the search name. When I add a variable I the FindListBox function I created I get an error saying the signature doesn't match.
I know I can add a private method to my own class but now I am curious how to implement the Find in the Generic so I can do this.
Seth