Click here to Skip to main content
15,889,403 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to make sure a form is closed Pin
N a v a n e e t h4-Aug-09 6:18
N a v a n e e t h4-Aug-09 6:18 
GeneralRe: How to make sure a form is closed Pin
belzer4-Aug-09 6:33
belzer4-Aug-09 6:33 
QuestionHow to insert an image in a word file using C#-2008 Pin
csetopper_bhanu4-Aug-09 3:58
csetopper_bhanu4-Aug-09 3:58 
QuestionAbstract vs Interface... Pin
p_19604-Aug-09 3:54
p_19604-Aug-09 3:54 
AnswerRe: Abstract vs Interface... Pin
N a v a n e e t h4-Aug-09 4:04
N a v a n e e t h4-Aug-09 4:04 
QuestionGarbage Collector Pin
jpk4204-Aug-09 2:53
jpk4204-Aug-09 2:53 
AnswerRe: Garbage Collector Pin
Not Active4-Aug-09 3:09
mentorNot Active4-Aug-09 3:09 
AnswerRe: Garbage Collector Pin
N a v a n e e t h4-Aug-09 3:57
N a v a n e e t h4-Aug-09 3:57 
1 - Mostly you don't need to use this method. I have only used it to test the language/framework features. Here[^] is a decent blog post on the subject.

2 - You can't reclaim the memory allocated deterministically. It is handled by GC. If you have critical resources that needs deterministic cleanup, use Dispose[^] pattern.

3 - AFAIK, there is no good way. Usually framework classes implements IDisposable to say it has got something to cleanup. In C#, you can't use unmanaged classes directly. You use it using P/Invoke. So if you are seeing P/Invoke calls, there will be unmanaged code involves.

Smile | :)


QuestionHow to diable the Context Menue using SHDocVw.InternetExplorer Pin
Jacobb Michael4-Aug-09 2:07
Jacobb Michael4-Aug-09 2:07 
Questionthe connection between XMLNode and TreeNode Pin
reilak4-Aug-09 1:49
reilak4-Aug-09 1:49 
AnswerRe: the connection between XMLNode and TreeNode Pin
Hristo-Bojilov4-Aug-09 2:11
Hristo-Bojilov4-Aug-09 2:11 
GeneralRe: the connection between XMLNode and TreeNode Pin
reilak4-Aug-09 2:46
reilak4-Aug-09 2:46 
GeneralRe: the connection between XMLNode and TreeNode Pin
Hristo-Bojilov4-Aug-09 3:05
Hristo-Bojilov4-Aug-09 3:05 
GeneralRe: the connection between XMLNode and TreeNode Pin
reilak4-Aug-09 3:53
reilak4-Aug-09 3:53 
GeneralRe: the connection between XMLNode and TreeNode Pin
Hristo-Bojilov4-Aug-09 4:05
Hristo-Bojilov4-Aug-09 4:05 
Questionsocket not closing even after the listening app has terminated?! Pin
Druuler4-Aug-09 1:43
Druuler4-Aug-09 1:43 
AnswerRe: socket not closing even after the listening app has terminated?! Pin
Druuler4-Aug-09 5:09
Druuler4-Aug-09 5:09 
GeneralRe: socket not closing even after the listening app has terminated?! Pin
Druuler6-Aug-09 7:32
Druuler6-Aug-09 7:32 
QuestionFailed To Connect MySQL via C# Pin
Nemesis Fixx4-Aug-09 1:36
Nemesis Fixx4-Aug-09 1:36 
AnswerRe: Failed To Connect MySQL via C# Pin
musefan4-Aug-09 1:41
musefan4-Aug-09 1:41 
GeneralRe: Failed To Connect MySQL via C# Pin
Nemesis Fixx4-Aug-09 1:50
Nemesis Fixx4-Aug-09 1:50 
GeneralRe: Failed To Connect MySQL via C# Pin
musefan4-Aug-09 1:57
musefan4-Aug-09 1:57 
GeneralRe: Failed To Connect MySQL via C# Pin
Nemesis Fixx4-Aug-09 3:29
Nemesis Fixx4-Aug-09 3:29 
QuestionAccess Export using late binding [modified] Pin
BNeSiH4-Aug-09 0:44
BNeSiH4-Aug-09 0:44 
QuestionDelimiters for Tokenizer Pin
gamer11274-Aug-09 0:35
gamer11274-Aug-09 0:35 

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.