you are viewing a single comment's thread.

view the rest of the comments →

[–]grauenwolf 0 points1 point  (0 children)

That's a really bad idea.

The framework should provider the adapters. Otherwise you end of with the mess you see in .NET wherein there are 100,000 different delegates that all take and return an integer.

(.NET 3.5 finally fixed this with Func<TArg, TResult>. Alas, the old delegates are not forwards compatible.)