Click here to Skip to main content
16,020,253 members
Home / Discussions / C#
   

C#

 
AnswerRe: Which is more usefull Abstract Class or Interface and Why? Pin
#realJSOP14-Apr-11 2:01
professional#realJSOP14-Apr-11 2:01 
AnswerRe: Which is more usefull Abstract Class or Interface and Why? Pin
PIEBALDconsult14-Apr-11 2:57
mvePIEBALDconsult14-Apr-11 2:57 
GeneralRe: Which is more usefull Abstract Class or Interface and Why? Pin
Luc Pattyn14-Apr-11 4:15
sitebuilderLuc Pattyn14-Apr-11 4:15 
GeneralRe: Which is more usefull Abstract Class or Interface and Why? Pin
Keith Barrow14-Apr-11 4:31
professionalKeith Barrow14-Apr-11 4:31 
AnswerRe: Which is more usefull Abstract Class or Interface and Why? Pin
Luc Pattyn14-Apr-11 4:17
sitebuilderLuc Pattyn14-Apr-11 4:17 
AnswerRe: Which is more usefull Abstract Class or Interface and Why? Pin
Keith Barrow14-Apr-11 4:29
professionalKeith Barrow14-Apr-11 4:29 
GeneralRe: Which is more usefull Abstract Class or Interface and Why? Pin
Pete O'Hanlon14-Apr-11 5:28
mvePete O'Hanlon14-Apr-11 5:28 
QuestionLinkedList<T> since .NET 2 [modified] Pin
devvvy13-Apr-11 15:55
devvvy13-Apr-11 15:55 
Hey how many of you don't know about LinkedList<t>?[^]

It's been available since .NET 2!! And I missed it seems like it's not been discussed a lot. In fact many discussions omitted such important class.[^]

Any specific article which discuss and compare among various .NET collection classes now in terms of fetch-by-key/insert/remove/add/memory allocation/performance (polynomial time, linear time...etc) similar to cplusplus.com[^]

Gosh how the hell did I miss such important subject.

REF 1: MSDN Chapter 5 — Improving Managed Code Performance
- no reference of LinkedList but ListDictionary
[^]

REF 2: That's more like it... read this comparison.[^] My question for this article is, "Insert" -- are they refering to "insert in middle of the list"? Of "Add" which adds to end of list? But, for example, for Dictionary<x,y> only supports "Add", there's no such thing as "Insert". "Insert" is supported by "IList<t>" however. Seems like article did not distinguish between add and insert.

REF 3: This seems to be the winner!![^]

Anything else?

Anyway, seems like 99% of applications we got by with Generic List/Dictionary (reasonable performance no op exceeds polynomial time) without LinkedList (all good except lookup). Does anybody has a good scenario as an example where they'd need LinkedList?
dev
modified on Wednesday, April 13, 2011 10:31 PM

AnswerRe: LinkedList since .NET 2 Pin
OriginalGriff14-Apr-11 0:10
mveOriginalGriff14-Apr-11 0:10 
GeneralRe: LinkedList since .NET 2 Pin
devvvy14-Apr-11 22:59
devvvy14-Apr-11 22:59 
GeneralRe: LinkedList since .NET 2 Pin
OriginalGriff14-Apr-11 23:07
mveOriginalGriff14-Apr-11 23:07 
GeneralRe: LinkedList since .NET 2 Pin
devvvy14-Apr-11 23:13
devvvy14-Apr-11 23:13 
GeneralRe: LinkedList since .NET 2 Pin
OriginalGriff14-Apr-11 23:28
mveOriginalGriff14-Apr-11 23:28 
GeneralRe: LinkedList since .NET 2 Pin
devvvy14-Apr-11 23:38
devvvy14-Apr-11 23:38 
GeneralRe: LinkedList since .NET 2 Pin
David198714-Apr-11 0:35
David198714-Apr-11 0:35 
GeneralRe: LinkedList since .NET 2 Pin
devvvy14-Apr-11 23:00
devvvy14-Apr-11 23:00 
GeneralRe: LinkedList since .NET 2 Pin
David198714-Apr-11 23:10
David198714-Apr-11 23:10 
GeneralRe: LinkedList since .NET 2 Pin
devvvy14-Apr-11 23:12
devvvy14-Apr-11 23:12 
GeneralRe: LinkedList since .NET 2 Pin
David198714-Apr-11 23:44
David198714-Apr-11 23:44 
GeneralRe: LinkedList since .NET 2 Pin
devvvy16-Apr-11 16:53
devvvy16-Apr-11 16:53 
AnswerRe: LinkedList since .NET 2 Pin
PIEBALDconsult14-Apr-11 2:59
mvePIEBALDconsult14-Apr-11 2:59 
GeneralRe: LinkedList since .NET 2 Pin
devvvy14-Apr-11 23:11
devvvy14-Apr-11 23:11 
GeneralRe: LinkedList since .NET 2 Pin
devvvy14-Apr-11 23:43
devvvy14-Apr-11 23:43 
AnswerRe: LinkedList since .NET 2 Pin
Alan Balkany14-Apr-11 4:13
Alan Balkany14-Apr-11 4:13 
GeneralRe: LinkedList since .NET 2 Pin
devvvy14-Apr-11 23:03
devvvy14-Apr-11 23:03 

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.