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 clr in c#?
What is object type in c#?
Why do we need interface in c#?
Is enum a value type c#?
Why do we write system in c#?
Can you have parameters for static constructors?
What is the benefit of using interface in c#?
What are the types of access modifiers?
What is c# used for?
What does the parsefloat function do?
What is the difference between add and addrange in c#?
Illustrate namespaces in c#?
What are the uses of delegates in c#?
What is the use of generics in c#?
How to use reflection to call generic method?