Click here to Skip to main content
15,917,610 members
Home / Discussions / C#
   

C#

 
AnswerRe: Operator Overloading Pin
Scott Dorman7-Oct-07 10:47
professionalScott Dorman7-Oct-07 10:47 
QuestionHow to determine best possible combination to a C# ListArray? Pin
humblepgmr6-Oct-07 4:10
humblepgmr6-Oct-07 4:10 
AnswerRe: How to determine best possible combination to a C# ListArray? Pin
humblepgmr6-Oct-07 4:47
humblepgmr6-Oct-07 4:47 
AnswerRe: How to determine best possible combination to a C# ListArray? Pin
Guffa6-Oct-07 6:25
Guffa6-Oct-07 6:25 
AnswerRe: How to determine best possible combination to a C# ListArray? Pin
lmoelleb6-Oct-07 6:33
lmoelleb6-Oct-07 6:33 
QuestionFinalize and Dispose Pin
Blumen6-Oct-07 2:29
Blumen6-Oct-07 2:29 
AnswerRe: Finalize and Dispose Pin
Simon P Stevens6-Oct-07 2:47
Simon P Stevens6-Oct-07 2:47 
GeneralRe: Finalize and Dispose Pin
Blumen6-Oct-07 3:39
Blumen6-Oct-07 3:39 
Thanks alot Simon, that was very useful.

So I conclude that:

1. Finalize method should be used to clear up only unmanaged resources, whereas Dispose method can be used to clearup any object that I create.
Using keyword is very helpful here.

2. We are unable to predict when Finalize would be called and executed by GC, where as Dispose method would be called as soon as the object is out of scope, right?

Regards,
Blumen
AnswerRe: Finalize and Dispose Pin
Guffa6-Oct-07 4:12
Guffa6-Oct-07 4:12 
AnswerRe: Finalize and Dispose Pin
Abhijit Jana6-Oct-07 2:49
professionalAbhijit Jana6-Oct-07 2:49 
AnswerRe: Finalize and Dispose Pin
Scott Dorman7-Oct-07 10:52
professionalScott Dorman7-Oct-07 10:52 
QuestionTree View Manipulation. Pin
M. J. Jaya Chitra6-Oct-07 1:50
M. J. Jaya Chitra6-Oct-07 1:50 
AnswerRe: Tree View Manipulation. Pin
Simon P Stevens6-Oct-07 3:05
Simon P Stevens6-Oct-07 3:05 
QuestionHow to log before window shutdowned! Pin
tranglt6-Oct-07 1:26
tranglt6-Oct-07 1:26 
AnswerRe: How to log before window shutdowned! Pin
Anthony Mushrow6-Oct-07 1:47
professionalAnthony Mushrow6-Oct-07 1:47 
AnswerRe: How to log before window shutdowned! Pin
Abhijit Jana6-Oct-07 2:26
professionalAbhijit Jana6-Oct-07 2:26 
QuestionClient-Server [modified] Pin
Aamu6-Oct-07 1:05
Aamu6-Oct-07 1:05 
QuestionThreading Pin
udikantz6-Oct-07 0:46
udikantz6-Oct-07 0:46 
AnswerRe: Threading Pin
lmoelleb6-Oct-07 1:00
lmoelleb6-Oct-07 1:00 
GeneralRe: Threading Pin
udikantz6-Oct-07 1:52
udikantz6-Oct-07 1:52 
GeneralRe: Threading Pin
lmoelleb6-Oct-07 3:35
lmoelleb6-Oct-07 3:35 
GeneralRe: Threading Pin
udikantz6-Oct-07 6:16
udikantz6-Oct-07 6:16 
Questionhow to check the files are exist or not in a floder Pin
ramyanaidu5-Oct-07 22:45
ramyanaidu5-Oct-07 22:45 
AnswerRe: how to check the files are exist or not in a floder Pin
Hessam Jalali5-Oct-07 23:03
Hessam Jalali5-Oct-07 23:03 
AnswerRe: how to check the files are exist or not in a floder Pin
Abhijit Jana5-Oct-07 23:52
professionalAbhijit Jana5-Oct-07 23:52 

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.