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 mean by type-safe? Please answer me. Advance thanks.

0 Answers   Excel,


what is a mvc in asp.net?

3 Answers   Cap Gemini, Elsinoir Technologies, HCL,


What is a razor file?

0 Answers  


What is the difference between a Struct and a Class

1 Answers   Siebel Systems,


Is there built-in support for tracing/logging

1 Answers  


The order of the filters that get executed, if the multiple filters are implemented?

0 Answers  


What is the significance of nonactionattribute?

0 Answers  


How can I return string result from action in asp.net mvc?

0 Answers  


What is the greatest advantage of using asp.net mvc over asp.net webforms?

0 Answers  


Integer & struct are value types or reference types in .NET?

3 Answers  


What is mapping in entity framework? : Entity framework

0 Answers  


What is GUID , why we use it and where

1 Answers  


Categories