Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is there any reason to implement a collection now that we have generics? Pin
Christian Graus22-Dec-07 10:00
protectorChristian Graus22-Dec-07 10:00 
AnswerRe: Is there any reason to implement a collection now that we have generics? Pin
PIEBALDconsult22-Dec-07 17:02
mvePIEBALDconsult22-Dec-07 17:02 
AnswerRe: Is there any reason to implement a collection now that we have generics? Pin
darkelv22-Dec-07 17:15
darkelv22-Dec-07 17:15 
GeneralRe: Is there any reason to implement a collection now that we have generics? Pin
JoeRip22-Dec-07 19:56
JoeRip22-Dec-07 19:56 
GeneralRe: Is there any reason to implement a collection now that we have generics? Pin
JoeRip22-Dec-07 20:01
JoeRip22-Dec-07 20:01 
GeneralRe: Is there any reason to implement a collection now that we have generics? Pin
JoeRip22-Dec-07 20:05
JoeRip22-Dec-07 20:05 
GeneralRe: Is there any reason to implement a collection now that we have generics? Pin
PIEBALDconsult23-Dec-07 3:22
mvePIEBALDconsult23-Dec-07 3:22 
AnswerRe: Is there any reason to implement a collection now that we have generics? Pin
Scott Dorman23-Dec-07 1:43
professionalScott Dorman23-Dec-07 1:43 
It really depends on what you need to do. If you need to add custom behavior, then you do need to write your own collection. However, even by writing your own collection you can still derive from one of the generic collections. Also, the recommendation is to only use the List<T> class internally; instead you should return a Collection&lt;T&gt; or a ReadOnlyCollection (which you can get from List&lt;T&gt;.AsReadOnly).
Scott.

—In just two days, tomorrow will be yesterday.

[Forum Guidelines] [Articles] [Blog]

QuestionC# Managed Event Not Fired In VB6 Event Sink [modified] Pin
wentz22-Dec-07 8:16
wentz22-Dec-07 8:16 
Generalquestions about properties Pin
Xmen Real 22-Dec-07 3:56
professional Xmen Real 22-Dec-07 3:56 
GeneralRe: questions about properties Pin
Christian Graus22-Dec-07 9:18
protectorChristian Graus22-Dec-07 9:18 
GeneralRe: questions about properties Pin
PIEBALDconsult22-Dec-07 17:04
mvePIEBALDconsult22-Dec-07 17:04 
GeneralRe: questions about properties Pin
darkelv22-Dec-07 17:05
darkelv22-Dec-07 17:05 
GeneralRe: questions about properties [modified] Pin
Xmen Real 22-Dec-07 17:13
professional Xmen Real 22-Dec-07 17:13 
GeneralRe: questions about properties Pin
darkelv22-Dec-07 18:26
darkelv22-Dec-07 18:26 
GeneralRe: questions about properties Pin
Xmen Real 23-Dec-07 14:55
professional Xmen Real 23-Dec-07 14:55 
GeneralNumberFormatInfo Problem. Pin
hdv21222-Dec-07 3:34
hdv21222-Dec-07 3:34 
GeneralRe: NumberFormatInfo Problem. Pin
Paul Conrad22-Dec-07 7:01
professionalPaul Conrad22-Dec-07 7:01 
GeneralRe: NumberFormatInfo Problem. Pin
hdv21222-Dec-07 10:36
hdv21222-Dec-07 10:36 
GeneralCrystal Report Pin
Shaahinm22-Dec-07 0:19
Shaahinm22-Dec-07 0:19 
GeneralRe: Crystal Report Pin
Paul Conrad22-Dec-07 7:02
professionalPaul Conrad22-Dec-07 7:02 
Questionhow to use this code ? Pin
az_farzaneh21-Dec-07 23:01
az_farzaneh21-Dec-07 23:01 
AnswerRe: how to use this code ? Pin
Xmen Real 22-Dec-07 3:58
professional Xmen Real 22-Dec-07 3:58 
AnswerRe: how to use this code ? Pin
Paul Conrad22-Dec-07 7:03
professionalPaul Conrad22-Dec-07 7:03 
GeneralMultiview in Winform app. Pin
arefkarimi21-Dec-07 22:41
arefkarimi21-Dec-07 22:41 

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.