what is the difference between finally and dispose methods?
Answer Posted / sunil
finally will execute after the try block. It must execute
if there is any exception caught in the catch blobk or not.
Dispose method is the last method executed in the c# program
| Is This Answer Correct ? | 12 Yes | 16 No |
Post New Answer View All Answers
When should we use delegates in c#?
What are different types of classes in c#?
What is ado c#?
What is a console file?
What are All kind of access specifiers for a class and for methods
How is method overriding different from overloading?
What is the purpose of constructor in c#?
Is it possible to nest cfml conditional tags?
What is serialization in unity?
What are the different types of delegation?
What is javascriptserializer c#?
What is a multicast c# delegate?
What is difference between constants and readonly in c#?
How to achieve polymorphism in c#?
What are most desktop applications written in?