Any hints?
Just a further question: has the list really to be sorted? And, if so, should the Find method be invoked instead IndexOf? Just curious.
Quote from: maurobio on June 28, 2023, 04:46:38 pmJust a further question: has the list really to be sorted? And, if so, should the Find method be invoked instead IndexOf? Just curious.Sorting is just to speed up.The Find method requires one more parameter. Therefore, the IndexOf method is more convenient.
Find only works on sorted lists AFAIK, IndexOf chooses internal what way to go.