tagged [delegates]

C#:Creating Multicast delegate with boolean return type

C#:Creating Multicast delegate with boolean return type Hai Techies, in C#, how can we define the multicast delegate which accepts a DateTime object and return a boolean. Thanks

31 Aug at 08:43

What are the differences between delegates and events?

What are the differences between delegates and events? What are the differences between delegates and an events? Don't both hold references to functions that can be executed?

30 Sep at 15:9

Difference between Delegate.Invoke and Delegate()

Difference between Delegate.Invoke and Delegate() Whats the difference between calling `delTest.Invoke()` and `delTest()`? Both would execute the delegate on the current thread, right?

6 Aug at 19:42

How do I create delegates in Objective-C?

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?

Difference Between Invoke and DynamicInvoke

Difference Between Invoke and DynamicInvoke What is the difference between Invoke and DynamicInvoke in delegates? Please give me some code example which explain difference between that two methods.

How do I describe an Action<T> delegate that returns a value (non-void)?

How do I describe an Action delegate that returns a value (non-void)? The `Action` delegate return void. Is there any other built-in delegate which returns non void value?

12 Nov at 04:51

Practical use of interface events

Practical use of interface events What is a good example of the power of interface events (declaring events inside interface)? Most of the times I have seen only public abstract methods inside interfa...

16 Jul at 14:11

Default delegate in C#

Default delegate in C# What is the name of the default delegate in C# which takes no parameters and returns void? I remember there existed such a delegate but I don't remember its name.

1 Nov at 06:39

Defining C# events without an external delegate definition

Defining C# events without an external delegate definition just out of curiosity: is it possible to define events in C# without defining a delegate type beforhand? something like `public event (delega...

19 Mar at 15:40

How to hide the keyboard when I press return key in a UITextField?

How to hide the keyboard when I press return key in a UITextField? Clicking in a textfield makes the keyboard appear. How do I hide it when the user presses the return key?