Click here to Skip to main content
15,905,874 members
Home / Discussions / C#
   

C#

 
QuestionGeneric Collection in C# Pin
Ashwani Dhiman6-Apr-09 0:42
Ashwani Dhiman6-Apr-09 0:42 
AnswerRe: Generic Collection in C# Pin
tom5720076-Apr-09 1:01
tom5720076-Apr-09 1:01 
GeneralRe: Generic Collection in C# Pin
King Julien6-Apr-09 1:03
King Julien6-Apr-09 1:03 
AnswerMessage Removed Pin
6-Apr-09 3:24
professionalN_tro_P6-Apr-09 3:24 
GeneralRe: Generic Collection in C# Pin
Colin Angus Mackay6-Apr-09 4:54
Colin Angus Mackay6-Apr-09 4:54 
GeneralMessage Removed Pin
6-Apr-09 5:04
professionalN_tro_P6-Apr-09 5:04 
GeneralRe: Generic Collection in C# Pin
S. Senthil Kumar6-Apr-09 5:14
S. Senthil Kumar6-Apr-09 5:14 
GeneralRe: Generic Collection in C# Pin
Colin Angus Mackay6-Apr-09 6:18
Colin Angus Mackay6-Apr-09 6:18 
Collin Jasnoch wrote:
The word generic or general is irrelevant


That is like saying "the word left or right is irrelevant". It isn't irrelevant. Generic has a very specific and well defined meaning in OO languages. If the OP used it in error then don't repeat the error. Use the correct term otherwise the OP will continue to use the word in error and cause more confusion later.


Collin Jasnoch wrote:
FYI you could have a situation where you want to store the same specific object in a list. The list does not keep copies but actual references.


Are you trying to teach me C#? I am well aware of this. I just said I've never found a situation where I would want to do this.


Collin Jasnoch wrote:
This is how you can keep ojects alive so the GC does not hit them.


Adding an object many times to the same list will not affect the way garbage collection works. Just one reference in the list is sufficient for the GC to ignore the object so long as the list itself is referenced.


GeneralRe: Generic Collection in C# Pin
jschell6-Apr-09 8:24
jschell6-Apr-09 8:24 
QuestionApp Settings Confusion - Class Library Pin
Jasmine Pomelo6-Apr-09 0:42
Jasmine Pomelo6-Apr-09 0:42 
AnswerRe: App Settings Confusion - Class Library Pin
William Ten Broek6-Apr-09 1:15
William Ten Broek6-Apr-09 1:15 
GeneralRe: App Settings Confusion - Class Library Pin
Jasmine Pomelo6-Apr-09 5:44
Jasmine Pomelo6-Apr-09 5:44 
QuestionOpen word document in seprate window Pin
amit_836-Apr-09 0:40
professionalamit_836-Apr-09 0:40 
AnswerRe: Open word document in seprate window Pin
King Julien6-Apr-09 2:10
King Julien6-Apr-09 2:10 
QuestionSending sms through .Net C# Windows Application Pin
Milind Panchal6-Apr-09 0:22
Milind Panchal6-Apr-09 0:22 
AnswerRe: Sending sms through .Net C# Windows Application Pin
stancrm6-Apr-09 0:41
stancrm6-Apr-09 0:41 
AnswerRe: Sending sms through .Net C# Windows Application Pin
King Julien6-Apr-09 0:58
King Julien6-Apr-09 0:58 
AnswerRe: Sending sms through .Net C# Windows Application Pin
thowra6-Apr-09 5:50
thowra6-Apr-09 5:50 
Questionlz77 decompression in c# (some body help me please) Pin
novhard6-Apr-09 0:07
novhard6-Apr-09 0:07 
AnswerRe: lz77 decompression in c# (some body help me please) Pin
Henry Minute6-Apr-09 1:27
Henry Minute6-Apr-09 1:27 
GeneralRe: lz77 decompression in c# (some body help me please) Pin
novhard6-Apr-09 19:07
novhard6-Apr-09 19:07 
GeneralRe: lz77 decompression in c# (some body help me please) Pin
Henry Minute7-Apr-09 0:47
Henry Minute7-Apr-09 0:47 
QuestionGarbage Collection in C#. Pin
Ashwani Dhiman5-Apr-09 23:38
Ashwani Dhiman5-Apr-09 23:38 
AnswerRe: Garbage Collection in C#. Pin
CPallini5-Apr-09 23:47
mveCPallini5-Apr-09 23:47 
AnswerRe: Garbage Collection in C#. [modified] Pin
akhilonly0075-Apr-09 23:47
akhilonly0075-Apr-09 23:47 

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.