Fun with Generics - Currying
Sriram writes about aninteresting use of C# 2.0 Generics to implement "Currying," a technique which is normally reserved for functional programming languages.
Currying is the use of virtual functions which fix an function argument to a value and remove the argument:
Intuitively, currying says "if you fix some arguments, you get a function of the remaining arguments". So if you take the function in two variables yx, and fix y = 2, then you get the function in one variable 2x.
[Wikipedia]It seems a lot more academic than practical to me, but it's interesting to see what the kind of thing that C# Generics will enable.