Yes. We can use delegates for asynchronous method calls.
Showing posts with label Can we use delegates for asynchronous method calls in C#?. Show all posts
Showing posts with label Can we use delegates for asynchronous method calls in C#?. Show all posts
Thursday, November 12, 2015
What are the three types of Generic delegates in C#?
Below are the three types of generic delegates in C# -
- Func
- Action
- Predicate
What are the types of delegates in C#?
Below are the uses of delegates in C# -
- Single Delegate
- Multicast Delegate
- Generic Delegate
In try block if we add return statement whether finally block is executed in C#?
Yes. Finally block will still be executed in presence of return statement in try block.
Labels:
Can we use delegates for asynchronous method calls in C#?,
In try block if we add return statement whether finally block is executed in C#?,
What are the three types of Generic delegates in C#?,
What are the types of delegates in C#?,
What are the uses of delegates in C#?,
Why to use “Nullable Coalescing Operator” (??) in C#?
Subscribe to:
Posts (Atom)
Write a program to reverse a string? using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) ...
-
Throw and throw ex both are used to throw exception caught in catch block. Throw : It preserve the stack trace. Example: ...
-
You need to understand basic of delegates before starting it. What are Delegates? Delegates are pointer to function. Delegates are used ...
-
This is interview question which is asked in many interviews. Let’s see what Singleton is. Singleton is design pattern, which allow us...