Click here to Skip to main content
16,005,491 members
Home / Discussions / C#
   

C#

 
GeneralRe: High speed/precision timer possible? Pin
Dan Neely4-May-06 7:18
Dan Neely4-May-06 7:18 
GeneralRe: High speed/precision timer possible? Pin
Phil C5-May-06 19:08
Phil C5-May-06 19:08 
Questionwindows application deployment Pin
TheEagle4-May-06 4:13
TheEagle4-May-06 4:13 
AnswerRe: windows application deployment Pin
MoustafaS4-May-06 4:31
MoustafaS4-May-06 4:31 
GeneralRe: windows application deployment Pin
TheEagle4-May-06 4:40
TheEagle4-May-06 4:40 
AnswerRe: windows application deployment Pin
MoustafaS4-May-06 4:42
MoustafaS4-May-06 4:42 
GeneralRe: windows application deployment Pin
TheEagle4-May-06 4:49
TheEagle4-May-06 4:49 
QuestionFinding the most common string in an ArrayList Pin
Subterranean4-May-06 4:11
Subterranean4-May-06 4:11 
I have an arraylist full of strings, some of which will hopefully be identical (ie every entry will not be unique). How can I go about finding the most common string, the string that occurs most often? Does .NET give me any nice methods for doing such or will I have to do it myself?

I can think of one method; by making a 2D array, one dimension for storing the string, one dimension for storing the number of times it appears. However I dont think you can make a dynamically self sizing 2D array (like an arraylist) can you? If this is true I would need the array to be large to take care of the unknown number of items in the array list, and would end up being very slow.

Any help is much appreciated.
AnswerRe: Finding the most common string in an ArrayList Pin
Josh Smith4-May-06 5:15
Josh Smith4-May-06 5:15 
AnswerRe: Finding the most common string in an ArrayList Pin
Wjousts4-May-06 6:45
Wjousts4-May-06 6:45 
QuestionCrystal report Pin
Aayush Singh4-May-06 3:34
Aayush Singh4-May-06 3:34 
AnswerRe: Crystal report Pin
ranandbe4-May-06 20:04
ranandbe4-May-06 20:04 
Questionhow does accelerate drawing operation? Pin
Sasuko4-May-06 3:13
Sasuko4-May-06 3:13 
AnswerRe: how does accelerate drawing operation? Pin
MoustafaS4-May-06 4:35
MoustafaS4-May-06 4:35 
GeneralRe: how does accelerate drawing operation? Pin
Susuko4-May-06 9:57
Susuko4-May-06 9:57 
GeneralRe: how does accelerate drawing operation? Pin
Guffa4-May-06 6:29
Guffa4-May-06 6:29 
GeneralRe: how does accelerate drawing operation? Pin
Susuko4-May-06 9:58
Susuko4-May-06 9:58 
AnswerRe: how does accelerate drawing operation? Pin
A.Gharighi4-May-06 8:20
A.Gharighi4-May-06 8:20 
GeneralRe: how does accelerate drawing operation? Pin
Susuko4-May-06 9:56
Susuko4-May-06 9:56 
GeneralRe: how does accelerate drawing operation? Pin
A.Gharighi6-May-06 2:58
A.Gharighi6-May-06 2:58 
QuestionError when copied in to server Pin
chakkara20034-May-06 2:47
chakkara20034-May-06 2:47 
QuestionKill a process Pin
krishna194-May-06 2:41
krishna194-May-06 2:41 
AnswerRe: Kill a process Pin
V.4-May-06 3:28
professionalV.4-May-06 3:28 
GeneralRe: Kill a process Pin
krishna195-May-06 1:41
krishna195-May-06 1:41 
GeneralRe: Kill a process Pin
V.5-May-06 1:51
professionalV.5-May-06 1:51 

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.