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

Is the lack of deterministic destruction in .NET a problem

Answer Posted / kirti

It's certainly an issue that affects component design. If you have objects that maintain expensive or scarce resources (e.g. database locks), you need to provide some way for the client to tell the object to release the resource when it is done. Microsoft recommend that you provide a method called Dispose() for this purpose. However, this causes problems for distributed objects - in a distributed system who calls the Dispose() method? Some form of reference-counting or ownership-management mechanism is needed to handle distributed objects - unfortunately the runtime offers no help with this.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are html helpers in asp.net mvc?

979


What are the difference between asynchronous controller implementation between asp.net mvc 3 & asp.net mvc 4?

1030


explain lazy loading, eager loading, and explicit loading?

962


Is dapper better than entity framework?

928


In razor syntax, what is the escape sequence character for @ symbol?

944


How large is the .net framework 3.0? Does this change make the release larger?

947


Explain tempdata in asp.net mvc?

1069


How we can multiple submit buttons in ASP.Net MVC

1083


Give an example for authorization filters in an asp.net mvc application?

942


Do you know about the new features in asp.net mvc 4 (asp.net mvc4)?

980


why DotNetFramework is included in building a software

2621


What is difference between viewbag and viewdata and tempdata?

961


In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?

1028


What is entity sql? : Entity framework

981


Explain the methods used to render the views in mvc?

976