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 the 3 main components of an asp.net mvc application?

1038


What is the meaning of unobtrusive javascript? Explain us by any practical example.

1007


Explain bundle.config in mvc4?

1172


Explain unit test done by tester on development team?

1002


What is viewbag?

1029


What is clr? How does work clr & wht is work of clr?

1043


What is .net core framework?

1004


What is ado.net data provider? : Entity framework

1061


Mention two instances where routing is not implemented or required?

1224


What “beforFilter()”,“beforeRender” and “afterFilter” functions do in Controller?

1031


How we can multiple submit buttons in ASP.Net MVC

1153


What is needed for running an application built on winfx on the .net framework 3.0?

965


In Server how to check whether model has error or not in ASP.Net MVC

1133


How to use Jquery Plugins in ASP.Net MVC validation?

1057


Mention what is the difference between “ActionResult” and “ViewResult” ?

1050