Click here to Skip to main content
15,867,568 members
Home / Discussions / C#
   

C#

 
GeneralRe: Generic collections Pin
PozzaVecia22-Jul-13 3:31
PozzaVecia22-Jul-13 3:31 
GeneralRe: Generic collections Pin
BillWoodruff23-Jul-13 2:41
professionalBillWoodruff23-Jul-13 2:41 
GeneralRe: Generic collections Pin
harold aptroot23-Jul-13 3:11
harold aptroot23-Jul-13 3:11 
GeneralRe: Generic collections Pin
BillWoodruff23-Jul-13 4:09
professionalBillWoodruff23-Jul-13 4:09 
GeneralRe: Generic collections Pin
harold aptroot23-Jul-13 5:32
harold aptroot23-Jul-13 5:32 
GeneralRe: Generic collections Pin
BillWoodruff23-Jul-13 18:11
professionalBillWoodruff23-Jul-13 18:11 
GeneralRe: Generic collections Pin
harold aptroot23-Jul-13 22:42
harold aptroot23-Jul-13 22:42 
GeneralRe: Generic collections Pin
harold aptroot21-Jul-13 1:18
harold aptroot21-Jul-13 1:18 
Often when you have a problem that looks like "I need a data structure that has the properties of A and of B" where A and B are some data structure, there's an obvious way to just combine A and B and wrap them a little thing that keeps them synchronized.
Such as here, it looks like a List and like a Dictionary.. what can you do? Well you can make a List<Tvalue> and a Dictionary<Tkey, int> and let the dictionary map keys to indexes in the list.
If you also want removal, you can use a linked list instead of a list, and let the dictionary map keys to nodes in the linked list.
GeneralRe: Generic collections Pin
PozzaVecia21-Jul-13 22:56
PozzaVecia21-Jul-13 22:56 
GeneralRe: Generic collections Pin
BillWoodruff21-Jul-13 23:40
professionalBillWoodruff21-Jul-13 23:40 
GeneralRe: Generic collections Pin
PozzaVecia22-Jul-13 1:18
PozzaVecia22-Jul-13 1:18 
AnswerRe: Generic collections Pin
M.Kamran Asim21-Jul-13 21:19
M.Kamran Asim21-Jul-13 21:19 
QuestionDisable Windows Navigation Pin
aymen Tn18-Jul-13 5:11
aymen Tn18-Jul-13 5:11 
AnswerRe: Disable Windows Navigation Pin
GuyThiebaut18-Jul-13 5:26
professionalGuyThiebaut18-Jul-13 5:26 
AnswerRe: Disable Windows Navigation Pin
Emmanuel Medina18-Jul-13 5:27
professionalEmmanuel Medina18-Jul-13 5:27 
GeneralRe: Disable Windows Navigation Pin
aymen Tn18-Jul-13 22:44
aymen Tn18-Jul-13 22:44 
GeneralRe: Disable Windows Navigation Pin
Freak3018-Jul-13 23:46
Freak3018-Jul-13 23:46 
GeneralRe: Disable Windows Navigation Pin
Eddy Vluggen19-Jul-13 0:26
professionalEddy Vluggen19-Jul-13 0:26 
QuestionHow to save web page as MHTML? Pin
Abdallah Al-Dalleh18-Jul-13 3:25
Abdallah Al-Dalleh18-Jul-13 3:25 
AnswerRe: How to save web page as MHTML? Pin
Emmanuel Medina18-Jul-13 4:00
professionalEmmanuel Medina18-Jul-13 4:00 
AnswerRe: How to save web page as MHTML? Pin
Jay Nardev18-Jul-13 19:21
Jay Nardev18-Jul-13 19:21 
QuestionDynamic Columns in Entity Framework Pin
sengottuvel m18-Jul-13 2:28
sengottuvel m18-Jul-13 2:28 
AnswerRe: Dynamic Columns in Entity Framework Pin
Richard MacCutchan18-Jul-13 3:15
mveRichard MacCutchan18-Jul-13 3:15 
Questionhow to execute a wrapped oracle procedures using C# Pin
M_MA18-Jul-13 0:36
M_MA18-Jul-13 0:36 
QuestionUsing Axis Media Control SDK with EMGU CV to do a C# Winform application. Pin
Ervin Loong17-Jul-13 23:10
Ervin Loong17-Jul-13 23:10 

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.