I will clarify.
Sometimes its a lot easier to get a different piece of information then what
you already have, without having to make an extra call when that piece of
information WAS available, but not returned.
Case in point:
ListViewItem ListViewItemCollection.Add(ListViewItem) method.
- takes an already constructed ListViewItem as parameter,
- returns a reference to the same instance... ok, if I cared, i would
already HAVE the reference
How about returning the index of the added item, (which btw is the NORMAL
collection way, used on several other collection based types when you've
already constructed the target type)
And then, I could call ListView.EnsureVisible(int) directly with the return
value since EnsureVisible doesnt take a ListViewItem as a parameter.