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

Give examples for value types?

961


How many types of constructor are there in c#?

910


What are scriptable objects?

940


From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?

967


In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList(); } } }

2266


What is the use of console readkey ()?

1019


What are static and dynamic variables?

1164


What is the C# syntax to catch any possible exception?

941


Is string passed by reference in c#?

941


What are the main reasons to use c# language?

959


What is super class in c#?

946


Explain the difference between the system.array.copyto() and system.array.clone()?

936


How to reverse each word in a string using c#?

1059


Explain deadlock?

1014


What is the difference between as and is operators in c#?

935