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 class fields?
Why is aws serverless?
Write a program to find the angle between the hours and minutes in a clock
What is connection pooling in ado.net?
Can we have multiple constructors in a class c#?
What is the compiler of c#?
What are circular references?
What is generic method in c#?
What is concrete class in c#?
How to implement an object pool in c#.net.
What is toint32 c#?
What are the advantages of generics in c#?
What is difference between ilist and list in c#?
What are the steps for creating clr trigger
What is assembly c#?