Exforsys

Online Training

Objects reference

This is a discussion on Objects reference within the Microsoft .NET forums, part of the Programming Talk category; Does the objects get destroyed immediately when the last reference goes away?...


Go Back   Exforsys > Programming Talk > Microsoft .NET

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-28-2006, 08:16 AM
Senior Member
 
Join Date: Apr 2005
Posts: 716
lokeshm is on a distinguished road
Objects reference

Does the objects get destroyed immediately when the last reference goes away?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2007, 03:18 PM
Senior Member
 
Join Date: Apr 2006
Posts: 144
caradoc is on a distinguished road
No the object does not get destroyed immediately when the last reference goes away. The reason is because the garbage collector could not exactly predict and guarantee the time when an object will be destroyed and for reclaiming the memory.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Mohanchoti.com!!! 3G Recruitment portal lokeshm Chit-Chat 0 05-30-2006 03:52 PM
MindTree, Senior Dev., Designer, Employee Reference, Bangalore lokeshm Experienced Job Seekers - India 0 03-02-2006 09:19 PM
SCEA Certification : Sun Certified Enterprise Architect (SCEA) - Quick Reference techguru SUN Certification 0 08-26-2005 08:02 PM
Windows API reference for C#, VB.NET & VB6 sanereddy Windows Server Tutorials 1 03-07-2005 03:12 PM


All times are GMT -4. The time now is 12:58 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.