About 9,050,000 results
Open links in new tab
  1. oop - What is Delegate? - Stack Overflow

    Delegate types are sealed—they cannot be derived. Because the instantiated delegate is an object, it can be passed as a parameter, or assigned to a property. This allows a method to …

  2. What is a C++ delegate? - Stack Overflow

    Dec 30, 2012 · A delegate is a class that wraps a pointer or reference to an object instance, a member method of that object's class to be called on that object instance, and provides a …

  3. c# - When & why to use delegates? - Stack Overflow

    Jan 7, 2010 · A delegate is a simple class that is used to point to methods with a specific signature, becoming essentially a type-safe function pointer. A delegate's purpose is to …

  4. c# - Invoke (Delegate) - Stack Overflow

    Dec 23, 2014 · Can anybody please explain this statement written on this link Invoke(Delegate): Executes the specified delegate on the thread that owns the control's underlying window …

  5. c# - What is the difference between lambdas and delegates in the …

    A delegate is a Queue of function pointers, invoking a delegate may invoke multiple methods. A lambda is essentially an anonymous method declaration which may be interpreted by the …

  6. .net - Pass Method as Parameter using C# - Stack Overflow

    You can use the Func delegate in .NET 3.5 as the parameter in your RunTheMethod method. The Func delegate allows you to specify a method that takes a number of parameters of a specific …

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

    May 24, 2016 · But more to the point, both Func<string,string> and delegate string convertMethod(string) would be capable of holding the same method definitions whether they …

  8. Why do we need C# delegates - Stack Overflow

    Nov 26, 2010 · Further, while the number of classes one would need when using pseudo-delegates would be greater than when using "real" delegates, each pseudo-delegate would …

  9. How do you implement an async action delegate method?

    Dec 17, 2013 · How do you implement an async action delegate method? Asked 11 years, 10 months ago Modified 4 years, 1 month ago Viewed 136k times

  10. c# - += operator for Delegate - Stack Overflow

    A delegate is a data structure that refers to one or more methods. For instance methods, it also refers to their corresponding object instances. The closest equivalent of a delegate in C or …