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



Is the lack of deterministic destruction in .NET a problem..

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

More Dot Net Framework Interview Questions

What is Reference type and value type

1 Answers  


What is the difference between model and entity?

0 Answers  


What is the use of trace utility ?

2 Answers  


How to return the JSON from action method in ASP.Net MVC?

0 Answers  


What is entity framework? : Entity framework

0 Answers  


How to bind table colum with gridview column?

0 Answers  


What is mapping in entity framework? : Entity framework

0 Answers  


What are the sub types of ActionResult?

0 Answers  


What is .net core framework?

0 Answers  


Which is the best institute for .net?

16 Answers  


What are Model Binders in ASP.Net MVC?

0 Answers  


What's different about namespace declaration when comparing that to package declaration in Java ?

1 Answers   Infogain,


Categories