Click here to Skip to main content
15,912,756 members
Home / Discussions / C#
   

C#

 
QuestionDynamically creating calender Pin
aurosikhadas11-Nov-08 17:50
aurosikhadas11-Nov-08 17:50 
AnswerRe: Dynamically creating calender Pin
Brij11-Nov-08 18:26
mentorBrij11-Nov-08 18:26 
AnswerRe: Dynamically creating calender Pin
dan!sh 11-Nov-08 21:45
professional dan!sh 11-Nov-08 21:45 
QuestionPass Table Name Build Your Form ? Pin
Ahmed R El Bohoty11-Nov-08 17:38
Ahmed R El Bohoty11-Nov-08 17:38 
QuestionDispose or not? Pin
cocoonwls11-Nov-08 16:22
cocoonwls11-Nov-08 16:22 
AnswerRe: Dispose or not? Pin
Richard Blythe11-Nov-08 17:24
Richard Blythe11-Nov-08 17:24 
AnswerRe: Dispose or not? Pin
N a v a n e e t h11-Nov-08 17:29
N a v a n e e t h11-Nov-08 17:29 
AnswerRe: Dispose or not? Pin
Guffa11-Nov-08 23:32
Guffa11-Nov-08 23:32 
cocoonwls wrote:
should i dispose it when end the coding or not? It will automate throw into garbage colletor?


Disposal and garbage collection are two different things. Disposing an object doesn't cause it to be garbage collected.

You can't call the Dispose method on an array, as it doesn't have one. An array only uses managed resources, so there is no need for any disposal.

cocoonwls wrote:
drawobjectlist = null;


Setting the reference to null serves no pupose at all in this case. The garbage collector already knows that the array is not used any more, and it can even have collected it before you remove the reference. You are just assigning a null reference to a variable that is not used any longer.

Despite everything, the person most likely to be fooling you next is yourself.

AnswerRe: Dispose or not? Pin
Scott Dorman12-Nov-08 4:21
professionalScott Dorman12-Nov-08 4:21 
AnswerRe: Dispose or not? Pin
cocoonwls17-Nov-08 17:46
cocoonwls17-Nov-08 17:46 
QuestionGenerate C# Symbols from IDE Pin
Ken Mazaika11-Nov-08 16:21
Ken Mazaika11-Nov-08 16:21 
AnswerRe: Generate C# Symbols from IDE Pin
Simon P Stevens11-Nov-08 23:32
Simon P Stevens11-Nov-08 23:32 
QuestionDatabase search engine code? Pin
Richard Blythe11-Nov-08 16:01
Richard Blythe11-Nov-08 16:01 
AnswerRe: Database search engine code? Pin
Ashfield11-Nov-08 20:59
Ashfield11-Nov-08 20:59 
QuestionAccess to the path is denied Pin
dec8211-Nov-08 15:50
dec8211-Nov-08 15:50 
AnswerRe: Access to the path is denied Pin
Richard Blythe11-Nov-08 15:56
Richard Blythe11-Nov-08 15:56 
AnswerRe: Access to the path is denied Pin
Brij11-Nov-08 17:28
mentorBrij11-Nov-08 17:28 
QuestionHow to embed another executable into a C# Window Form? Pin
bbdaffy11-Nov-08 14:18
bbdaffy11-Nov-08 14:18 
AnswerRe: How to embed another executable into a C# Window Form? Pin
Dave Kreskowiak11-Nov-08 17:46
mveDave Kreskowiak11-Nov-08 17:46 
AnswerRe: How to embed another executable into a C# Window Form? Pin
Giorgi Dalakishvili11-Nov-08 19:25
mentorGiorgi Dalakishvili11-Nov-08 19:25 
QuestionCreating a timeline editor Pin
Eric Burns11-Nov-08 11:53
Eric Burns11-Nov-08 11:53 
QuestionSome quetion xml Pin
E_Gold11-Nov-08 10:30
E_Gold11-Nov-08 10:30 
AnswerRe: Some quetion xml Pin
PIEBALDconsult11-Nov-08 11:07
mvePIEBALDconsult11-Nov-08 11:07 
AnswerRe: Some quetion xml Pin
nelsonpaixao11-Nov-08 13:44
nelsonpaixao11-Nov-08 13:44 
AnswerRe: Some quetion xml Pin
N a v a n e e t h11-Nov-08 17:34
N a v a n e e t h11-Nov-08 17:34 

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.