Will finally block get executed if the exception had not
occurred?
Answers were Sorted based on User's Feedback
Answer / nirav darji
yes offcourse.in appliation finally block is always
executing.
| Is This Answer Correct ? | 4 Yes | 1 No |
Why constructor is used in c#?
Are arraylist faster or arrays?
What is the use of functional interface?
Illustrate race condition?
How to implement delegates in c#.net
What is file extension of webservices?
What is the implicit name and type of the parameter that gets passed into the class set method?
What is null character in string?
What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?
Why do we use partial class in c#?
What is a dynamic assembly?
class Program { void add() { int x=10, y=20; fun(); Console.WriteLine("{0}", sum); } void fun() { int sum; sum = x + y; } static void Main(string[] args) { Program f =new Program(); f.add(); } } Debug above program.....
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)