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) ...
-
Write a program to reverse a string? using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) ...
-
This is interview question which is asked in many interviews. Let’s see what Singleton is. Singleton is design pattern, which allow us...
-
1. Differences between VS 2005, 2008 and 2010? VS 2005 support the then new .net framework 2.0 visual studio 2008 came out to suppor...
No comments:
Post a Comment