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

C#

 
GeneralRe: object destroy Pin
Zoltan Balazs19-Apr-08 4:50
Zoltan Balazs19-Apr-08 4:50 
GeneralRe: object destroy Pin
Dave Kreskowiak19-Apr-08 7:06
mveDave Kreskowiak19-Apr-08 7:06 
GeneralRe: object destroy Pin
George_George19-Apr-08 20:58
George_George19-Apr-08 20:58 
GeneralRe: object destroy Pin
George_George19-Apr-08 20:57
George_George19-Apr-08 20:57 
GeneralRe: object destroy Pin
George_George19-Apr-08 20:50
George_George19-Apr-08 20:50 
GeneralRe: object destroy Pin
Guffa19-Apr-08 4:09
Guffa19-Apr-08 4:09 
GeneralRe: object destroy Pin
George_George19-Apr-08 4:23
George_George19-Apr-08 4:23 
GeneralRe: object destroy Pin
Dave Kreskowiak19-Apr-08 4:28
mveDave Kreskowiak19-Apr-08 4:28 
George_George wrote:
Why if Finalizer exists, the order of GC are not decided? In other words, if no Finalizer methods, the order is decided?


The order of object destruction is not guaranteed at all, no matter if there are finalizers or not. It simply cannot be predicted, or relied upon, that Object A is going to be destroyed before Object B.

Object finalization (there are no destructors in .NET) is non-deterministic. This[^] is a pretty description of how it works.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: object destroy Pin
George_George19-Apr-08 4:52
George_George19-Apr-08 4:52 
GeneralRe: object destroy Pin
Guffa19-Apr-08 4:37
Guffa19-Apr-08 4:37 
GeneralRe: object destroy Pin
George_George19-Apr-08 4:51
George_George19-Apr-08 4:51 
GeneralRe: object destroy Pin
Guffa19-Apr-08 5:30
Guffa19-Apr-08 5:30 
GeneralRe: object destroy Pin
George_George19-Apr-08 20:48
George_George19-Apr-08 20:48 
GeneralRe: object destroy Pin
Dave Kreskowiak19-Apr-08 7:12
mveDave Kreskowiak19-Apr-08 7:12 
GeneralRe: object destroy Pin
George_George19-Apr-08 20:48
George_George19-Apr-08 20:48 
QuestionOn Media player Pin
varun.g19-Apr-08 1:12
varun.g19-Apr-08 1:12 
GeneralRe: On Media player Pin
Anthony Mushrow19-Apr-08 2:09
professionalAnthony Mushrow19-Apr-08 2:09 
QuestionHow to create MultiColumn ListBox Pin
Muhammad Gouda18-Apr-08 23:36
Muhammad Gouda18-Apr-08 23:36 
GeneralRe: How to create MultiColumn ListBox Pin
Rob Smiley19-Apr-08 0:20
Rob Smiley19-Apr-08 0:20 
GeneralRe: How to create MultiColumn ListBox Pin
Muhammad Gouda19-Apr-08 3:30
Muhammad Gouda19-Apr-08 3:30 
GeneralRe: How to create MultiColumn ListBox Pin
Rob Smiley19-Apr-08 3:48
Rob Smiley19-Apr-08 3:48 
GeneralRe: How to create MultiColumn ListBox Pin
Charith Jayasundara20-Apr-08 2:56
Charith Jayasundara20-Apr-08 2:56 
GeneralRe: How to create MultiColumn ListBox Pin
Muhammad Gouda20-Apr-08 4:46
Muhammad Gouda20-Apr-08 4:46 
GeneralCrystal Report Work with C# Pin
Thaer Hamael18-Apr-08 23:05
Thaer Hamael18-Apr-08 23:05 
GeneralRe: Crystal Report Work with C# Pin
Bert delaVega19-Apr-08 0:38
Bert delaVega19-Apr-08 0:38 

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.