How can I pass a reference to a function, with parameters? [duplicate]

What you are after is called partial function application. Don’t be fooled by those that don’t understand the subtle difference between that and currying, they are different. Partial function application can be used to implement, but is not currying. Here is a quote from a blog post on the difference: Where partial application takes a … Read more

How can I write a generic anonymous method?

Nope, sorry. That would require generic fields or generic properties, which are not features that C# supports. The best you can do is make a generic method that introduces T: public Func<IList<T>, T> SelectionMethod<T>() { return list => list.First(); } And now you can say: Func<IList<int>, int> selectInts = SelectionMethod<int>();