Given that \'most\' developers are Business application developers, the features of our favorite programming languages are used in the context of what we
To my knowledge, a .NET delegate is essentially an implementation of a single-method interface, without all the class declaration hoopla. I wish we had them in Java, personally. Think of a comparator class:
class MyComparator extends Comparator {
public int compare(Circle a, Circle b) {
return a.radius - b.radius;
}
}
Anyplace this pattern is useful, a delegate could be useful instead.
I hope I'm right, but go ahead and vote me down if I'm wrong; it's been too long since I saw any C# :)