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

C#

 
QuestionMicrosoft Word/Excel Automation Errors [modified] Pin
dbloch19-Jun-06 15:19
dbloch19-Jun-06 15:19 
QuestionUser settings for application Pin
Mike0919-Jun-06 14:27
Mike0919-Jun-06 14:27 
AnswerRe: User settings for application Pin
Mike Poz19-Jun-06 15:03
Mike Poz19-Jun-06 15:03 
QuestionHow to get distinct items from an array? Pin
mejobloggs19-Jun-06 13:34
mejobloggs19-Jun-06 13:34 
AnswerRe: How to get distinct items from an array? Pin
Alexander Wiseman19-Jun-06 14:04
Alexander Wiseman19-Jun-06 14:04 
GeneralRe: How to get distinct items from an array? Pin
mejobloggs19-Jun-06 15:57
mejobloggs19-Jun-06 15:57 
GeneralRe: How to get distinct items from an array? Pin
leppie19-Jun-06 22:07
leppie19-Jun-06 22:07 
GeneralRe: How to get distinct items from an array? Pin
Alexander Wiseman20-Jun-06 5:43
Alexander Wiseman20-Jun-06 5:43 
leppie,

Thanks for your comments. I said I wouldn't recommend number 3 unless time was a consideration because I was unsure what overhead one might be pulling in by using a Hashtable to store the information. It seemed to me to be a roundabout way of doing it, and I wasn't comfortable with suggesting it as the most robust solution. On the other hand, it also seemed to me that using a Hashtable would be very fast, since looking up keys in a Hashtable is efficient. Please tell me if I'm not understanding something fundamental about Hashtables or whether you have a different opinion.

As regards your second point, I stand corrected. I should have realized that, in adding items to the Hashtable, one need not check if they are already there, because the same key cannot be repeated in the Hashtable!

Thanks again.

Sincerely,
Alexander Wiseman
AnswerRe: How to get distinct items from an array? Pin
Leslie Sanford19-Jun-06 16:43
Leslie Sanford19-Jun-06 16:43 
GeneralRe: How to get distinct items from an array? Pin
mejobloggs19-Jun-06 17:09
mejobloggs19-Jun-06 17:09 
AnswerRe: How to get distinct items from an array? Pin
Judah Gabriel Himango19-Jun-06 18:22
sponsorJudah Gabriel Himango19-Jun-06 18:22 
QuestionProcess.Start() mailto exception - default mail client Pin
stretchtack19-Jun-06 13:11
stretchtack19-Jun-06 13:11 
AnswerRe: Process.Start() mailto exception - default mail client Pin
Alexander Wiseman19-Jun-06 13:54
Alexander Wiseman19-Jun-06 13:54 
GeneralRe: Process.Start() mailto exception - default mail client Pin
stretchtack19-Jun-06 19:20
stretchtack19-Jun-06 19:20 
GeneralSTAThread vs. MTAThread - Process.Start() Pin
stretchtack20-Jun-06 7:28
stretchtack20-Jun-06 7:28 
GeneralRe: STAThread vs. MTAThread - Process.Start() Pin
Alexander Wiseman20-Jun-06 8:46
Alexander Wiseman20-Jun-06 8:46 
QuestionSession State Transfer Pin
Expert Coming19-Jun-06 11:39
Expert Coming19-Jun-06 11:39 
QuestionNeural networks in c# Pin
yasar khan19-Jun-06 10:46
yasar khan19-Jun-06 10:46 
AnswerRe: Neural networks in c# Pin
Colin Angus Mackay19-Jun-06 11:13
Colin Angus Mackay19-Jun-06 11:13 
AnswerRe: Neural networks in c# Pin
Ravi Bhavnani19-Jun-06 11:39
professionalRavi Bhavnani19-Jun-06 11:39 
AnswerRe: Neural networks in c# Pin
User 171649219-Jun-06 13:29
professionalUser 171649219-Jun-06 13:29 
Questionexecting .bat file. Pin
tom laz19-Jun-06 10:29
tom laz19-Jun-06 10:29 
AnswerRe: execting .bat file. Pin
Ed.Poore19-Jun-06 10:33
Ed.Poore19-Jun-06 10:33 
AnswerRe: execting .bat file. Pin
Joshua Lunsford19-Jun-06 10:33
Joshua Lunsford19-Jun-06 10:33 
AnswerRe: execting .bat file. Pin
Spike^Blue^Heaven19-Jun-06 20:13
Spike^Blue^Heaven19-Jun-06 20:13 

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.