Can I pass additional parameters to a predicate function?
I need it in a sorting process actually.
public void Sort(
Comparison<T> comparison
)
where I would like to use Comparison predicate in this form:
public delegate int Comparison<T>(
T x,
T y,
object extraParameter
)
Is this possible?
Thanks,