what is the difference between finally and dispose methods?
Answer Posted / m.m.ganesh
compulsory finally will execute after try and catch
block.Dispose method is used to clean up the
objects.Dispose methos will call in finally method to clean
up the objects
| Is This Answer Correct ? | 6 Yes | 19 No |
Post New Answer View All Answers
What is yield c#?
Is namespace a class?
What is asp net in c#?
Can we overload the main method in c#?
What is typeof c#?
What do you mean by delegates and explain different types of delegates?
Why delegates are type safe in c#?
Can you pass value types by reference to a method?
How is a loop recorder monitored?
What is the concept of strong names?
What is the difference between asp net and c#?
What is task parallel library?
How long does a loop recorder procedure take?
Is lazy t thread safe?
What is concrete class in c# with example?