Hi all,I am the beginner.
Please tell use of finally block.
Answers were Sorted based on User's Feedback
Answer / chetan dubey
we use finally block in exception handling ,it is must
executable block of statement i.e. if there is any
exception is occured ,the code in the finally block is must
executed.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / shikha jain
finally block is come after executing catch and try block,it place with exception handling
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / jagdish
Irrespective of weather error is thrown by try block,finally block will always execute.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / pramod kumar sharma
finally block(The collection of instructions) means it must be done.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / dilip
Re: Hi all,I am the beginner. Please tell use of finally block.
Answer
# 4
we use finally block in exception handling ,it is must
executable block of statement i.e. if there is any
exception is occured ,the code in the finally block is must
executed.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is console write in c#?
What is array and types of array in c#?
What is lazy keyword in c#?
If a method's return type is void, can you use a return keyword in the method?
What is the difference between mobile application and desktop application?
What is regex replace in c#?
how to communicate inventory system and account system?
What is native image generator (ngen.exe)?
Is c# code is managed or unmanaged code?
What is a derived class in c#?
What's the implicit name of the parameter that gets passed into the set method/property of a class?
windows c# using datagridview in edit form sql server
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)