Click here to Skip to main content
15,896,726 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to get names and count of tables Pin
PIEBALDconsult6-Feb-12 18:08
mvePIEBALDconsult6-Feb-12 18:08 
GeneralRe: how to get names and count of tables Pin
Mycroft Holmes6-Feb-12 19:43
professionalMycroft Holmes6-Feb-12 19:43 
GeneralRe: how to get names and count of tables Pin
PIEBALDconsult7-Feb-12 2:32
mvePIEBALDconsult7-Feb-12 2:32 
AnswerRe: how to get names and count of tables Pin
Abhinav S6-Feb-12 19:10
Abhinav S6-Feb-12 19:10 
QuestionGarbage collection & nested objects? Pin
SledgeHammer016-Feb-12 11:17
SledgeHammer016-Feb-12 11:17 
AnswerRe: Garbage collection & nested objects? Pin
Eddy Vluggen6-Feb-12 11:38
professionalEddy Vluggen6-Feb-12 11:38 
AnswerRe: Garbage collection & nested objects? Pin
harold aptroot6-Feb-12 11:41
harold aptroot6-Feb-12 11:41 
AnswerRe: Garbage collection & nested objects? Pin
Luc Pattyn6-Feb-12 11:51
sitebuilderLuc Pattyn6-Feb-12 11:51 
There are two parts to that question:

1.
if o.Ref held the only remaining reference to o1 (and o1 the only reference to o2, etc), then setting it null will make o1 (and o2 and o3) eligible for garbage collection. It will not call Dispose(), and it will not force a garbage collection to occur. When you later need more memory than is currently free inside your process, the GC may or may not free those objects (depends on their generation); if they have finalizers, then those would be called. However, if your app came to a halt, no memory would be freed, no Dispose would be called.

2.
When the GC determines all of o1, o2, and o3 are no longer alive, they will all be scrapped, in no particular order. One pointing to the other does not influence that.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

Fed up by FireFox memory leaks I switched to Opera and now CP doesn't perform its paste magic, so links will not be offered. Sorry.

GeneralRe: Garbage collection & nested objects? Pin
SledgeHammer016-Feb-12 11:55
SledgeHammer016-Feb-12 11:55 
QuestionHow to implement multi-part FTP Pin
Michael J. Eber6-Feb-12 8:35
Michael J. Eber6-Feb-12 8:35 
AnswerRe: How to implement multi-part FTP Pin
Luc Pattyn6-Feb-12 8:40
sitebuilderLuc Pattyn6-Feb-12 8:40 
GeneralRe: How to implement multi-part FTP Pin
Michael J. Eber6-Feb-12 15:05
Michael J. Eber6-Feb-12 15:05 
AnswerRe: How to implement multi-part FTP Pin
Luc Pattyn6-Feb-12 15:34
sitebuilderLuc Pattyn6-Feb-12 15:34 
AnswerRe: How to implement multi-part FTP Pin
BobJanova6-Feb-12 22:16
BobJanova6-Feb-12 22:16 
Question[Posted in ASP.Net forum] Bug Tracking for ASP.Net Website Pin
Ed Nutting6-Feb-12 2:23
Ed Nutting6-Feb-12 2:23 
AnswerRe: Bug Tracking for ASP.Net Website Pin
Richard MacCutchan6-Feb-12 3:06
mveRichard MacCutchan6-Feb-12 3:06 
GeneralRe: Bug Tracking for ASP.Net Website Pin
Ed Nutting6-Feb-12 3:16
Ed Nutting6-Feb-12 3:16 
GeneralRe: Bug Tracking for ASP.Net Website Pin
Richard MacCutchan6-Feb-12 4:07
mveRichard MacCutchan6-Feb-12 4:07 
GeneralRe: Bug Tracking for ASP.Net Website Pin
Ed Nutting6-Feb-12 5:14
Ed Nutting6-Feb-12 5:14 
AnswerRe: Bug Tracking for ASP.Net Website Pin
Eddy Vluggen6-Feb-12 5:06
professionalEddy Vluggen6-Feb-12 5:06 
GeneralRe: Bug Tracking for ASP.Net Website Pin
Ed Nutting6-Feb-12 5:13
Ed Nutting6-Feb-12 5:13 
GeneralRe: Bug Tracking for ASP.Net Website Pin
Eddy Vluggen6-Feb-12 5:33
professionalEddy Vluggen6-Feb-12 5:33 
GeneralRe: Bug Tracking for ASP.Net Website Pin
Ed Nutting6-Feb-12 5:47
Ed Nutting6-Feb-12 5:47 
AnswerRe: Bug Tracking for ASP.Net Website Pin
Eddy Vluggen6-Feb-12 7:14
professionalEddy Vluggen6-Feb-12 7:14 
Questionwebsite performance Pin
IMQ6-Feb-12 1:15
IMQ6-Feb-12 1:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.