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 are the namespace level elements?
How can I create image pieces/sub image?
How do you serialize in c#?
Why do we use polymorphism in c#?
How does return work in c#?
Is datetime value type c#?
why delegate is type safe?
What are strongly typed objects?
Is c# slower than java?
Why is c# a good programming language?
What is the diff between System.String and System.Text.StringBuilder classes?
Explain the accessibility modifier protected internal?
Can abstract class have constructor?
Define c# i/o classes? List the commonly used classes?
What is pure abstract class in c#?