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 is MVVM design pattern?

1080


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

1058


What is the difference between windows vista and .net framework 3.0 ?

1052


What is meant by bootstrap in mvc5?

1264


What is definingquery in entity framework? : Entity framework

1045


Why is the .net framework 3.0 a major version number of the .net framework if it uses the .net framework 2.0 runtime and compiler?

1074


how do you query in entity model when the result has a join from from different database other than the entity model?

1031


What is edm designer? : Entity framework

1043


What is rxjava used for?

1178


what do you mean by navigation property?

1100


What is an asynchronous controller in asp.net mvc?

1105


what is entity data model?

1123


How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?

986


What is ViewData and TempData in ASP.Net MVC?

1078


What is the difference between model view and controller?

998