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 are the different types of delegates?
Why do we use namespace in c#?
Can we declare class as protected?
What is getenumerator?
What problem does Delegate Solve?
What is delimiter in c#?
What is array and its types in c#?
What is the use of console readkey ()?
What is call back method?
FOR EXAMPLE : CLASS Dotnet { } creating object: Dotnet dn=new Dotnet(); NOW THE QUESTION IS WHICH IS CALLED AS OBJECT ?EITHER dn OR new Dotnet() and CAN YOU PROVE YOUR ANSWER?????PLEASE REPLY...
Is c# used for frontend or backend?
What is msil in c#?