Top "Delegates" questions

Delegates can refer to several concepts.

Pass Method as Parameter using C#

I have several methods all with the same parameter types and return values but different names and blocks. I want …

c# .net methods delegates
When & why to use delegates?

I'm relatively new in C#, & I'm wondering when to use Delegates appropriately. they are widely used in events declaration, …

c# .net delegates
How do I create delegates in Objective-C?

I know how delegates work, and I know how I can use them. But how do I create them?

ios objective-c cocoa callback delegates
Func vs. Action vs. Predicate

With real examples and their use, can someone please help me understand: When do we need a Func<T, ..&…

c# delegates action func
Invoke(Delegate)

Can anybody please explain this statement written on this link Invoke(Delegate): Executes the specified delegate on the thread that …

c# winforms delegates invoke
Java Delegates?

Does the Java language have delegate features, similar to how C# has support for delegates?

java delegates
Why would you use Expression<Func<T>> rather than Func<T>?

I understand lambdas and the Func and Action delegates. But expressions stump me. In what circumstances would you use an …

c# delegates lambda expression-trees
C# - using List<T>.Find() with custom objects

I'm trying to use a List<T> with a custom class of mine, and being able to use …

c# list generics delegates find
Function Pointers in Java

This may be something common and trivial, but I seem to be having trouble finding a concrete answer. In C# …

java pointers delegates function-pointers
Delegates in swift?

How does one go about making a delegate, i.e. NSUserNotificationCenterDelegate in swift?

delegates swift delegation