About 9,320,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. .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 …

  3. 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 …

  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. 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 …

  6. 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 …

  7. 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

  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. Java Delegates? - Stack Overflow

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

  10. c# - What are the advantages of delegates? - Stack Overflow

    May 5, 2014 · Delegate in C# is eqv. to function pointer in C, but it also carries a reference to the class instance that it was created from. All event handlers in Windows Forms are delegates.