4 ms·
"Your sort solution limits which algorithms can be used, because you can't pass in a Func which might need an additional parameter anymore" O RLY? void List<
by cgrealy 8y ago
"Your sort solution limits which algorithms can be used, because you can't pass in a Func which might need an additional parameter anymore"
O RLY?
void List<int> Sort(List<int> input, bool someParam){}
var values = new List<int> { 9, 1, 5, 7 };
DoSomething(x => Sort(x, true), values);
Thanks for proving my point that you really don't know C#.