Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

explain the three services model commonly know as a three-tier application.

1042


What is the diff between the System.Array.CopyTo() and System.Array.Clone()?

1050


What is the difference between int.parse and int.tryparse methods?

1100


Define satellite assembly in c#?

958


Is it possible to have a static indexer in c#?

1027


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.

2405


In which order the destructor is called for an inherited class?

1033


What is default constructor c#?

1015


What is global asax in c#?

986


What operator means?

932


Is char * null terminated?

996


What is a property c#?

1097


How to add controls dynamically to the form using c#.net.

948


What is eager loading in c#?

935


What is type safe in c#?

941