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

C#

 
GeneralRe: TreeView SelectedNode[0] Pin
S078416-Jan-11 19:53
S078416-Jan-11 19:53 
QuestionC# How to get row value of DataGridView Pin
LAPEC13-Jan-11 12:46
LAPEC13-Jan-11 12:46 
AnswerRe: C# How to get row value of DataGridView Pin
Dalek Dave13-Jan-11 13:05
professionalDalek Dave13-Jan-11 13:05 
AnswerRe: C# How to get row value of DataGridView Pin
Luc 64801113-Jan-11 15:10
Luc 64801113-Jan-11 15:10 
AnswerRe: C# How to get row value of DataGridView Pin
Luc 64801113-Jan-11 15:14
Luc 64801113-Jan-11 15:14 
AnswerRe: C# How to get row value of DataGridView Pin
Dalek Dave13-Jan-11 15:33
professionalDalek Dave13-Jan-11 15:33 
AnswerRe: C# How to get row value of DataGridView Pin
Luc Pattyn13-Jan-11 15:50
sitebuilderLuc Pattyn13-Jan-11 15:50 
QuestionMost efficient Collection? Pin
kinar13-Jan-11 10:41
kinar13-Jan-11 10:41 
Whats the most efficient way of storing and referecing a list of ~2000 unsorted key value pairs in C#?

I understand that there is not really any definite answer here since it will depend on the data, however, I'm not familiar enough with the .NET framework to know which ones to even test. I'm an MFC C++ developer who is migrating to C#. In MFC C++ I would use a CMap or a muiltidimensional array to store the data and it would be efficient enough for my needs. I'm finding in C#, neither (a series of arrays or a Hashtable) is working out very well. Both seem to be far less efficient than my implementations in C++ but I'm assuming this is mostly because of my inability to code C# as well as I do in C++.

For reference, I need to store 5-6 values for ~2000 keys (3-30 character strings) and receive between 200-10,000 updates a second (averaging about 750) total.

Recomendations? Should I look at another data storage method or should I work on improving my existing attempts?
AnswerRe: Most efficient Collection? PinPopular
dan!sh 13-Jan-11 11:20
professional dan!sh 13-Jan-11 11:20 
AnswerRe: Most efficient Collection? Pin
Luc Pattyn13-Jan-11 11:28
sitebuilderLuc Pattyn13-Jan-11 11:28 
AnswerRe: Most efficient Collection? Pin
Ray Cassick13-Jan-11 11:54
Ray Cassick13-Jan-11 11:54 
AnswerRe: Most efficient Collection? Pin
SledgeHammer0113-Jan-11 13:00
SledgeHammer0113-Jan-11 13:00 
AnswerRe: Most efficient Collection? Pin
Dalek Dave13-Jan-11 13:08
professionalDalek Dave13-Jan-11 13:08 
GeneralOT [ sufficiently remedied for now ] Pin
Luc Pattyn13-Jan-11 13:15
sitebuilderLuc Pattyn13-Jan-11 13:15 
GeneralRe: Most efficient Collection? Pin
Dalek Dave13-Jan-11 13:18
professionalDalek Dave13-Jan-11 13:18 
GeneralRe: Most efficient Collection? Pin
Luc Pattyn13-Jan-11 13:23
sitebuilderLuc Pattyn13-Jan-11 13:23 
AnswerRe: Most efficient Collection? Pin
jschell14-Jan-11 10:09
jschell14-Jan-11 10:09 
QuestionHaving trouble writing to an excel file Pin
turbosupramk313-Jan-11 9:40
turbosupramk313-Jan-11 9:40 
AnswerRe: Having trouble writing to an excel file Pin
Dalek Dave13-Jan-11 10:31
professionalDalek Dave13-Jan-11 10:31 
QuestionDuplicate media player winodw Pin
polycom12313-Jan-11 8:25
polycom12313-Jan-11 8:25 
QuestionHow Do I get IME to open my custom IME UI Windows in C# [modified] Pin
greg ofiesh13-Jan-11 7:48
greg ofiesh13-Jan-11 7:48 
QuestionCalling C++ Image API from C# Pin
econner13-Jan-11 4:59
econner13-Jan-11 4:59 
AnswerRe: Calling C++ Image API from C# Pin
_Erik_13-Jan-11 5:16
_Erik_13-Jan-11 5:16 
GeneralRe: Calling C++ Image API from C# Pin
econner13-Jan-11 6:00
econner13-Jan-11 6:00 
GeneralRe: Calling C++ Image API from C# Pin
_Erik_13-Jan-11 6:10
_Erik_13-Jan-11 6: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.