Top "Delegates" questions

Delegates can refer to several concepts.

What is the difference between Func<string,string> and delegate?

I see delegates in two forms: A. Func<string, string> convertMethod = lambda B. public delegate string convertMethod(string …

c# asp.net delegates lambda
Compiler Ambiguous invocation error - anonymous method and method group with Func<> or Action

I have a scenario where I want to use method group syntax rather than anonymous methods (or lambda syntax) for …

c# delegates
C# compile error: "Invoke or BeginInvoke cannot be called on a control until the window handle has been created."

I just posted a question about how to get a delegate to update a textbox on another form. Just when …

c# delegates invoke handle runtime-error
Expression Trees and Invoking a Delegate

So I have a delegate which points to some function which I don't actually know about when I first create …

c# .net lambda delegates expression-trees
Pass and execute delegate in separate AppDomain

I want to exceute some piece of code in separate AppDomain with delegate. How can I do this? UPD1: some …

c# delegates appdomain
Standard delegates in C#

There are some Delegates predefined in C# I know these: EventHandler // Default event callbacks EventHandler<T> // Default event …

c# list delegates
What's the difference between 'weak' and 'assign' in delegate property declaration

Whats the difference between this: @property (nonatomic, weak) id <SubClassDelegate> delegate; and this: @property (nonatomic, assign) id <…

objective-c ios ios5 delegates properties
NSNotificationCenter vs delegation( using protocols )?

What are the pros and cons of each of them? Where should I use them specifically?

iphone objective-c delegates protocols nsnotifications
Swift delegation - when to use weak pointer on delegate

Can someone explain when and when not to use a 'weak' assignment to a delegate pointer in Swift, and why? …

swift memory-management memory-leaks delegates strong-reference-cycle
c++/cli pass (managed) delegate to unmanaged code

How do I pass a function pointer from managed C++ (C++/CLI) to an unmanaged method? I read a few …

delegates c++-cli interop function-pointers