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
explain the three services model commonly know as a three-tier application.
What is the diff between the System.Array.CopyTo() and System.Array.Clone()?
What is the difference between int.parse and int.tryparse methods?
Define satellite assembly in c#?
Is it possible to have a static indexer in c#?
Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.
In which order the destructor is called for an inherited class?
What is default constructor c#?
What is global asax in c#?
What operator means?
Is char * null terminated?
What is a property c#?
How to add controls dynamically to the form using c#.net.
What is eager loading in c#?
What is type safe in c#?