Will finally block get executed if the 1exception had not
occurred?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
Yes a finally block always executes irrespective of the fact
if or if not an exception was thrown in the associated try
block.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / basayya_swami
yes, finally block always execute if exception occerred
donot occurred is not a matter
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / shiba shankar
yes, the exception may or may not occur it is mandatory
that the finally block must be executed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is it possible to implement an interface to a structure? Is it possible to extend a struct? Is it possible to inherit a class to struct?
9 Answers IBM, Logica CMG, TCS,
What?s an interface class?
Is c# code is unmanaged or managed code?
How do you set a class path?
what are delegates? How you used then in your project?
10 Answers Hawk Eye, IndiaTimes, Kanbay,
How to parse a date time string?
Can you declare the override method static while the original method is non-static?
what is the difference between int and Int32?
What exception can an overridden method throw in comparison with the method it is overriding?
Explain the difference between event and a delegate in c#?
What types of object can I throw as exceptions?
What is meaning of type safety in c#?
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)