Click here to Skip to main content
15,888,076 members
Home / Discussions / C#
   

C#

 
GeneralRe: Timing out a method Pin
martin_hughes26-Jul-07 9:15
martin_hughes26-Jul-07 9:15 
AnswerRe: Timing out a method Pin
Le centriste26-Jul-07 10:17
Le centriste26-Jul-07 10:17 
QuestionClass declaration inside loops Pin
rsaint2726-Jul-07 7:18
rsaint2726-Jul-07 7:18 
AnswerRe: Class declaration inside loops Pin
PhilDanger26-Jul-07 7:29
PhilDanger26-Jul-07 7:29 
GeneralRe: Class declaration inside loops Pin
rsaint2726-Jul-07 7:55
rsaint2726-Jul-07 7:55 
GeneralRe: Class declaration inside loops Pin
Paul Conrad26-Jul-07 8:26
professionalPaul Conrad26-Jul-07 8:26 
GeneralRe: Class declaration inside loops Pin
rsaint2726-Jul-07 10:40
rsaint2726-Jul-07 10:40 
AnswerRe: Class declaration inside loops Pin
Guffa26-Jul-07 11:05
Guffa26-Jul-07 11:05 
No. A List is a managed object, so you don't need to implement IDisposable to take care of that. You only need IDisposable to handle unmanaged resources.

When the reference to the object is not used any more, the object, the List inside the object, and every object in the List are all collectable (unless the object are referenced elsewhere, of course).

The garbage collector doesn't look for object to collect, it looks for the objects to keep. That means that at the instant that an object gets collectable, all objects that it contains are also collectable.

---
single minded; short sighted; long gone;

GeneralRe: Class declaration inside loops Pin
PhilDanger26-Jul-07 11:12
PhilDanger26-Jul-07 11:12 
QuestionDataGridView - Binding to an Object Pin
BigPMcCoy26-Jul-07 6:55
BigPMcCoy26-Jul-07 6:55 
QuestionDataGridView Checkbox not populating when binding from ObjectDataSource [modified] Pin
Tristan Rhodes26-Jul-07 6:28
Tristan Rhodes26-Jul-07 6:28 
AnswerRe: DataGridView Checkbox not populating when binding from ObjectDataSource Pin
Eliz.k26-Jul-07 21:39
Eliz.k26-Jul-07 21:39 
GeneralRe: DataGridView Checkbox not populating when binding from ObjectDataSource Pin
Tristan Rhodes26-Jul-07 23:25
Tristan Rhodes26-Jul-07 23:25 
QuestionDataSet - mapping the colums Pin
auloepid26-Jul-07 5:23
auloepid26-Jul-07 5:23 
AnswerRe: DataSet - mapping the colums Pin
Tarakeshwar Reddy26-Jul-07 5:31
professionalTarakeshwar Reddy26-Jul-07 5:31 
QuestionSerial To USB Communication Pin
Michael Fritzius26-Jul-07 4:41
professionalMichael Fritzius26-Jul-07 4:41 
AnswerRe: Serial To USB Communication Pin
led mike26-Jul-07 5:00
led mike26-Jul-07 5:00 
GeneralRe: Serial To USB Communication Pin
Michael Fritzius26-Jul-07 5:15
professionalMichael Fritzius26-Jul-07 5:15 
GeneralRe: Serial To USB Communication Pin
led mike26-Jul-07 5:20
led mike26-Jul-07 5:20 
AnswerRe: Serial To USB Communication Pin
Luc Pattyn26-Jul-07 5:20
sitebuilderLuc Pattyn26-Jul-07 5:20 
GeneralRe: Serial To USB Communication Pin
Michael Fritzius26-Jul-07 6:06
professionalMichael Fritzius26-Jul-07 6:06 
GeneralRe: Serial To USB Communication Pin
Luc Pattyn26-Jul-07 6:15
sitebuilderLuc Pattyn26-Jul-07 6:15 
GeneralRe: Serial To USB Communication Pin
Michael Fritzius26-Jul-07 6:55
professionalMichael Fritzius26-Jul-07 6:55 
GeneralRe: Serial To USB Communication Pin
Michael Fritzius26-Jul-07 7:37
professionalMichael Fritzius26-Jul-07 7:37 
GeneralRe: Serial To USB Communication Pin
Luc Pattyn26-Jul-07 7:52
sitebuilderLuc Pattyn26-Jul-07 7: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.