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 icomparable in c#?
Does constructor return any value in c#?
What is short circuit logical evaluation?
What are the types of serialization?
What Happens In Memory When You Box And Unbox A Value-type?
What is option parameter in C#?
How do you pronounce c#?
What is the difference between ref and out in c#?
What is the difference between do and while loop?
What?s class SortedList underneath?
What is a c# delegate?
What is cli in c#?