Click here to Skip to main content
15,893,622 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# very basic basic` Pin
daveThawley14-Apr-11 11:53
daveThawley14-Apr-11 11:53 
QuestionWhich is more usefull Abstract Class or Interface and Why? Pin
Prasanta_Prince13-Apr-11 19:26
Prasanta_Prince13-Apr-11 19:26 
AnswerRe: Which is more usefull Abstract Class or Interface and Why? PinPopular
David198713-Apr-11 19:34
David198713-Apr-11 19:34 
AnswerRe: Which is more usefull Abstract Class or Interface and Why? Pin
BobJanova13-Apr-11 23:17
BobJanova13-Apr-11 23:17 
GeneralRe: Which is more usefull Abstract Class or Interface and Why? Pin
Anubhava Dimri14-Apr-11 1:39
Anubhava Dimri14-Apr-11 1:39 
AnswerRe: Which is more usefull Abstract Class or Interface and Why? [modified] Pin
Pete O'Hanlon14-Apr-11 1:46
mvePete O'Hanlon14-Apr-11 1:46 
GeneralRe: Which is more usefull Abstract Class or Interface and Why? Pin
David198714-Apr-11 2:12
David198714-Apr-11 2:12 
GeneralRe: Which is more usefull Abstract Class or Interface and Why? Pin
Pete O'Hanlon14-Apr-11 2:19
mvePete O'Hanlon14-Apr-11 2:19 
GeneralRe: Which is more usefull Abstract Class or Interface and Why? Pin
Pete O'Hanlon14-Apr-11 2:24
mvePete O'Hanlon14-Apr-11 2:24 
GeneralRe: Which is more usefull Abstract Class or Interface and Why? Pin
David198714-Apr-11 2:30
David198714-Apr-11 2:30 
GeneralRe: Which is more usefull Abstract Class or Interface and Why? Pin
Pete O'Hanlon14-Apr-11 2:42
mvePete O'Hanlon14-Apr-11 2:42 
GeneralRe: Which is more usefull Abstract Class or Interface and Why? Pin
Wayne Gaylard14-Apr-11 2:42
professionalWayne Gaylard14-Apr-11 2:42 
GeneralRe: Which is more usefull Abstract Class or Interface and Why? Pin
Pete O'Hanlon14-Apr-11 2:45
mvePete O'Hanlon14-Apr-11 2:45 
GeneralRe: Which is more usefull Abstract Class or Interface and Why? Pin
Prasanta_Prince15-Apr-11 6:34
Prasanta_Prince15-Apr-11 6:34 
AnswerRe: Which is more usefull Abstract Class or Interface and Why? Pin
#realJSOP14-Apr-11 2:01
mve#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 

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.