Using an ObjectCollection as a parameter create a new Control?
- by Luis
I was using something like
public int Test(System.Windows.Forms.ListBox.ObjectCollection Colecction) { }
With this I want to pass just the ObjectCollection of the control, to sort, add and delete elements without passing the entire control, but someone told me that, this way of calling the collection, actualy, create an entire ListBox, making it a worst decition, than, passing a ListBox as a parameter.
Is it true? An if, what's the best way of working whit the collection?