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 / 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


Please Help Members By Posting Answers For Below Questions

What is data adapter in c#?

865


Can an exception be thrown from a catch block?

1006


Name the property of the textbox which cannot be changed at runtime?

949


How many types of constructors are there in c#?

955


What is the difference between ref and out in c#?

886


What are callback methods in c#?

906


What is predicate c#?

966


Can I define a type that is an alias of another type (like typedef in c++)?

966


What is a factory in c#?

861


What is different about switch statements in c#?

854


Are string objects mutable or immutable?

914


What does console mean c#?

913


How many types of methods are there in c#?

901


Why is hashset faster?

959


Explain circular reference in c#?

925