Click here to Skip to main content
15,881,173 members
Home / Discussions / C#
   

C#

 
GeneralMessage Closed Pin
27-Dec-13 4:01
gianfrancoguzzo27-Dec-13 4:01 
GeneralRe: ordered list as in python Pin
Nicholas Marty27-Dec-13 4:06
professionalNicholas Marty27-Dec-13 4:06 
GeneralRe: ordered list as in python Pin
gianfrancoguzzo27-Dec-13 4:10
gianfrancoguzzo27-Dec-13 4:10 
AnswerRe: ordered list as in python Pin
gianfrancoguzzo27-Dec-13 3:43
gianfrancoguzzo27-Dec-13 3:43 
GeneralRe: ordered list as in python Pin
BillWoodruff27-Dec-13 13:02
professionalBillWoodruff27-Dec-13 13:02 
AnswerRe: ordered list as in python Pin
BillWoodruff27-Dec-13 4:04
professionalBillWoodruff27-Dec-13 4:04 
GeneralRe: ordered list as in python Pin
gianfrancoguzzo27-Dec-13 4:17
gianfrancoguzzo27-Dec-13 4:17 
GeneralRe: ordered list as in python Pin
BillWoodruff27-Dec-13 11:32
professionalBillWoodruff27-Dec-13 11:32 
If you need to use a Dictionary, then something like Dictionary<Guid,string> should be fine.

For a discussion of issues with sorting a Dictionary, see this thread that I started in November, this year: [^].

Using a generic List would allow for more than one list item with the same value; using a Dictionary you must have a unique Key for each item, but you can have multiple items with the same Value. What exactly is required ?

If you choose to use a SortedDictionary, or SortedList, you may wish to do some research on their differences; the best single summary of that I know is:[^].
“I'm an artist: it's self evident that word implies looking for something all the time without ever finding it in full. It is the opposite of saying : 'I know all about it. I've already found it.'

As far as I'm concerned, the word means: 'I am looking. I am hunting for it. I am deeply involved.'”

Vincent Van Gogh


modified 27-Dec-13 19:07pm.

GeneralRe: ordered list as in python Pin
gianfrancoguzzo27-Dec-13 15:06
gianfrancoguzzo27-Dec-13 15:06 
GeneralRe: ordered list as in python Pin
gianfrancoguzzo29-Dec-13 2:00
gianfrancoguzzo29-Dec-13 2:00 
QuestionConsole.WriteLine properties of something Pin
Dick Lasy27-Dec-13 2:06
Dick Lasy27-Dec-13 2:06 
AnswerRe: Console.WriteLine properties of something Pin
Richard MacCutchan27-Dec-13 3:38
mveRichard MacCutchan27-Dec-13 3:38 
AnswerRe: Console.WriteLine properties of something Pin
BillWoodruff27-Dec-13 3:39
professionalBillWoodruff27-Dec-13 3:39 
AnswerRe: Console.WriteLine properties of something Pin
Vinay Jade27-Dec-13 4:39
professionalVinay Jade27-Dec-13 4:39 
GeneralRe: Console.WriteLine properties of something Pin
Dick Lasy27-Dec-13 4:49
Dick Lasy27-Dec-13 4:49 
GeneralRe: Console.WriteLine properties of something Pin
Dick Lasy27-Dec-13 23:36
Dick Lasy27-Dec-13 23:36 
QuestionGenerate hyperlink to file Pin
piet kouwer26-Dec-13 21:06
piet kouwer26-Dec-13 21:06 
AnswerRe: Generate hyperlink to file Pin
Richard MacCutchan26-Dec-13 22:33
mveRichard MacCutchan26-Dec-13 22:33 
GeneralRe: Generate hyperlink to file Pin
piet kouwer26-Dec-13 22:41
piet kouwer26-Dec-13 22:41 
GeneralRe: Generate hyperlink to file Pin
Richard MacCutchan26-Dec-13 23:17
mveRichard MacCutchan26-Dec-13 23:17 
GeneralRe: Generate hyperlink to file Pin
piet kouwer27-Dec-13 0:07
piet kouwer27-Dec-13 0:07 
GeneralRe: Generate hyperlink to file Pin
Richard MacCutchan27-Dec-13 0:10
mveRichard MacCutchan27-Dec-13 0:10 
GeneralRe: Generate hyperlink to file Pin
piet kouwer27-Dec-13 0:27
piet kouwer27-Dec-13 0:27 
GeneralRe: Generate hyperlink to file Pin
Richard MacCutchan27-Dec-13 0:33
mveRichard MacCutchan27-Dec-13 0:33 
GeneralRe: Generate hyperlink to file Pin
Richard MacCutchan27-Dec-13 0:22
mveRichard MacCutchan27-Dec-13 0:22 

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.