Click here to Skip to main content
15,890,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: xsl ? Pin
dec8216-Nov-08 18:09
dec8216-Nov-08 18:09 
AnswerRe: xsl ? Pin
Guffa16-Nov-08 18:15
Guffa16-Nov-08 18:15 
GeneralRe: xsl ? Pin
dec8216-Nov-08 18:28
dec8216-Nov-08 18:28 
GeneralRe: xsl ? Pin
Guffa16-Nov-08 21:18
Guffa16-Nov-08 21:18 
Questioncan someone help me... Pin
cutedrew16-Nov-08 14:06
cutedrew16-Nov-08 14:06 
AnswerRe: can someone help me... Pin
Mycroft Holmes16-Nov-08 15:12
professionalMycroft Holmes16-Nov-08 15:12 
QuestionRe: can someone help me... Pin
nelsonpaixao17-Nov-08 13:32
nelsonpaixao17-Nov-08 13:32 
QuestionData Structure Pin
duta16-Nov-08 7:23
duta16-Nov-08 7:23 
Hi there

I have a .txt file with the following dates (string \t\t int):

aaaaa 5
aaaaa 6
aaabb 7
aaaaa 1
aaabb 5
...

My question is about what data structure to use in order to access as fast is possible those data(read only).
I'm very new to C# but I have some experience in C++. There a struct array was an alternative but I don't know how to do that in C#.
I have to search a string and order the result desc after the int number.

Example:
search 'aaabb'
result: 7, 5
AnswerRe: Data Structure Pin
sph3rex16-Nov-08 8:31
sph3rex16-Nov-08 8:31 
AnswerRe: Data Structure Pin
User 665816-Nov-08 8:44
User 665816-Nov-08 8:44 
AnswerRe: Data Structure Pin
Mark Churchill16-Nov-08 12:49
Mark Churchill16-Nov-08 12:49 
GeneralRe: Data Structure Pin
Alan Balkany17-Nov-08 4:03
Alan Balkany17-Nov-08 4:03 
GeneralRe: Data Structure Pin
Mark Churchill17-Nov-08 11:42
Mark Churchill17-Nov-08 11:42 
AnswerRe: Data Structure Pin
Guffa16-Nov-08 13:05
Guffa16-Nov-08 13:05 
AnswerRe: Data Structure Pin
Mycroft Holmes16-Nov-08 15:15
professionalMycroft Holmes16-Nov-08 15:15 
QuestionCasting Error Pin
Vimalsoft(Pty) Ltd16-Nov-08 4:02
professionalVimalsoft(Pty) Ltd16-Nov-08 4:02 
AnswerRe: Casting Error Pin
Wendelius16-Nov-08 4:38
mentorWendelius16-Nov-08 4:38 
GeneralRe: Casting Error Pin
Guffa16-Nov-08 6:58
Guffa16-Nov-08 6:58 
GeneralRe: Casting Error Pin
Wendelius16-Nov-08 9:44
mentorWendelius16-Nov-08 9:44 
AnswerRe: Casting Error Pin
Guffa16-Nov-08 7:01
Guffa16-Nov-08 7:01 
GeneralRe: Casting Error Pin
Vimalsoft(Pty) Ltd16-Nov-08 9:25
professionalVimalsoft(Pty) Ltd16-Nov-08 9:25 
GeneralRe: Casting Error Pin
Guffa16-Nov-08 13:10
Guffa16-Nov-08 13:10 
Answer[Resolved]Re: Casting Error Pin
Vimalsoft(Pty) Ltd16-Nov-08 19:29
professionalVimalsoft(Pty) Ltd16-Nov-08 19:29 
QuestionSolution for Tower of Hanoi with Breadth First Search Algorithm ? Pin
Mohammad Dayyan16-Nov-08 2:34
Mohammad Dayyan16-Nov-08 2:34 
AnswerRe: Solution for Tower of Hanoi with Breadth First Search Algorithm ? PinPopular
#realJSOP16-Nov-08 3:01
mve#realJSOP16-Nov-08 3:01 

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.