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 symbol would you use to denote, the start of a code block in razor views?

0 Answers  


What is the importance of NonActionAttribute?

0 Answers  


If we write return statement in finally block will it works fine or throws any error?

7 Answers   Kanbay,


How do you enforce garbage collection in .NET

1 Answers   Wipro,


What is shadowing?

6 Answers   IBM,


Can I use razor code in javascript in asp.net mvc?

0 Answers  


Explain the advantages of asp.net mvc over asp.net?

0 Answers  


How we can register the Area in ASP.Net MVC?

0 Answers  


what happened when type url in address bar and press enter?

5 Answers   IBM, Wipro,


What is NonActionAttribute ?

0 Answers   Cognizant,


What's the difference between Java and .NET garbage collectors ?

1 Answers   BirlaSoft,


What are actions in mvc?

0 Answers  


Categories