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

C#

 
GeneralRe: System.CodeDom Problem. Pin
Rob Smiley20-Apr-08 0:46
Rob Smiley20-Apr-08 0:46 
GeneralUnable to fill certain fields inside the DOM of some websites! Pin
alon198019-Apr-08 21:50
alon198019-Apr-08 21:50 
GeneralRe: Unable to fill certain fields inside the DOM of some websites! Pin
alon198021-Apr-08 4:36
alon198021-Apr-08 4:36 
GeneralFinalizer implementation Pin
George_George19-Apr-08 21:20
George_George19-Apr-08 21:20 
GeneralRe: Finalizer implementation Pin
Scott Dorman20-Apr-08 4:57
professionalScott Dorman20-Apr-08 4:57 
GeneralRe: Finalizer implementation Pin
carbon_golem20-Apr-08 5:29
carbon_golem20-Apr-08 5:29 
GeneralRe: Finalizer implementation Pin
George_George20-Apr-08 17:38
George_George20-Apr-08 17:38 
GeneralRe: Finalizer implementation Pin
carbon_golem21-Apr-08 1:53
carbon_golem21-Apr-08 1:53 
George_George wrote:
1.

One further question, if in my class, there is a StreamWriter data member, in the Finalizer method, if I do not close the StreamWriter, there should not be any resource leak, right? (because the Finalizer of StreamWriter itself will clean up native file handle resource wrapped by StreamWriter?)


Fairly certain that's the case.


George_George wrote:
2.

So, C# I/O class like StreamWriter is managed resource, not unmanaged resource?


Yes.

Scott P

"Run for your life from any man who tells you that money is evil. That sentence is the leper's bell of an approaching looter." --Ayn Rand

GeneralRe: Finalizer implementation Pin
George_George21-Apr-08 2:07
George_George21-Apr-08 2:07 
GeneralRe: Finalizer implementation Pin
carbon_golem21-Apr-08 6:32
carbon_golem21-Apr-08 6:32 
GeneralRe: Finalizer implementation Pin
George_George21-Apr-08 21:49
George_George21-Apr-08 21:49 
GeneralRe: Finalizer implementation Pin
carbon_golem22-Apr-08 2:39
carbon_golem22-Apr-08 2:39 
GeneralRe: Finalizer implementation Pin
George_George22-Apr-08 3:04
George_George22-Apr-08 3:04 
GeneralRe: Finalizer implementation Pin
George_George20-Apr-08 19:02
George_George20-Apr-08 19:02 
GeneralRe: Finalizer implementation Pin
Scott Dorman22-Apr-08 17:13
professionalScott Dorman22-Apr-08 17:13 
GeneralRe: Finalizer implementation Pin
George_George22-Apr-08 17:20
George_George22-Apr-08 17:20 
GeneralRe: Finalizer implementation Pin
Scott Dorman22-Apr-08 17:36
professionalScott Dorman22-Apr-08 17:36 
GeneralRe: Finalizer implementation Pin
George_George22-Apr-08 17:47
George_George22-Apr-08 17:47 
GeneralRe: Finalizer implementation Pin
Scott Dorman23-Apr-08 2:15
professionalScott Dorman23-Apr-08 2:15 
GeneralRe: Finalizer implementation Pin
George_George23-Apr-08 2:49
George_George23-Apr-08 2:49 
Generalroot in managed heap Pin
George_George19-Apr-08 21:01
George_George19-Apr-08 21:01 
GeneralRe: root in managed heap Pin
Gareth H19-Apr-08 23:15
Gareth H19-Apr-08 23:15 
GeneralRe: root in managed heap Pin
George_George19-Apr-08 23:21
George_George19-Apr-08 23:21 
GeneralRe: root in managed heap Pin
Jordanwb20-Apr-08 4:06
Jordanwb20-Apr-08 4:06 
GeneralRe: root in managed heap Pin
Luc Pattyn20-Apr-08 2:37
sitebuilderLuc Pattyn20-Apr-08 2:37 

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.