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
What is dll file in c#?
What is the difference between constants and read-only?
Does c# support multiple inheritance (mi)?
What is difference between a function and a method?
Explain the ways to deploy an assembly?
what is the difference between the debug class and trace class?
What are different types of classes in c#?
write a c# program add two matrix with input number ?
What is the benefit of dependency injection c#?
What is the use of console application in c#?
Differentiate between copy and default constructor.
Can a constructor be static in c#?
What is a copy constructor in c#?
What is unmannaged code and will CLR handle this kind of code or not .
Is boxing an implicit conversion?