Yes. Finally block will still be executed in presence of return statement in try block.
Thursday, November 12, 2015
In try block if we add return statement whether finally block is executed in C#?
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:
Post Comments (Atom)
Write a program to reverse a string? using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) ...
-
I will explain about Service behaviors and how to implement in WCF. Service behaviors is used to increase through put, scalability and ...
-
You need to understand basic of delegates before starting it. What are Delegates? Delegates are pointer to function. Delegates are used ...
-
Mutex means mutual exclusion. Mutex is class in .NET framework. It is thread synchronization process. Mutex is used to prevent the executio...
No comments:
Post a Comment