Click here to Skip to main content
15,902,114 members
Home / Discussions / C#
   

C#

 
AnswerRe: Excel 2000 vs Excel 2007 Pin
Not Active9-Sep-09 4:32
mentorNot Active9-Sep-09 4:32 
GeneralRe: Excel 2000 vs Excel 2007 Pin
jashimu9-Sep-09 5:29
jashimu9-Sep-09 5:29 
GeneralRe: Excel 2000 vs Excel 2007 Pin
DaveyM699-Sep-09 5:35
professionalDaveyM699-Sep-09 5:35 
GeneralRe: Excel 2000 vs Excel 2007 Pin
dan!sh 9-Sep-09 6:23
professional dan!sh 9-Sep-09 6:23 
GeneralRe: Excel 2000 vs Excel 2007 Pin
jashimu9-Sep-09 6:54
jashimu9-Sep-09 6:54 
GeneralRe: Excel 2000 vs Excel 2007 Pin
Mirko19809-Sep-09 21:42
Mirko19809-Sep-09 21:42 
AnswerHelp : bcp.exe blocked !!!! [Solved] Pin
Guy.Rostand9-Sep-09 3:36
Guy.Rostand9-Sep-09 3:36 
QuestionMore than one Client !!!! Pin
CRAZYCRICKET2259-Sep-09 2:36
CRAZYCRICKET2259-Sep-09 2:36 
AnswerRe: More than one Client !!!! Pin
SeMartens9-Sep-09 3:30
SeMartens9-Sep-09 3:30 
AnswerRe: More than one Client !!!! Pin
April Fans22-Sep-09 17:28
April Fans22-Sep-09 17:28 
QuestionNetwork Scanner Pin
deviao9-Sep-09 2:21
deviao9-Sep-09 2:21 
AnswerRe: Network Scanner Pin
Richard MacCutchan9-Sep-09 3:10
mveRichard MacCutchan9-Sep-09 3:10 
QuestionBinarySearch checks same element Pin
Caio19859-Sep-09 1:22
Caio19859-Sep-09 1:22 
AnswerRe: BinarySearch checks same element Pin
Luc Pattyn9-Sep-09 1:30
sitebuilderLuc Pattyn9-Sep-09 1:30 
GeneralRe: BinarySearch checks same element Pin
Caio19859-Sep-09 1:49
Caio19859-Sep-09 1:49 
GeneralRe: BinarySearch checks same element Pin
Luc Pattyn9-Sep-09 2:11
sitebuilderLuc Pattyn9-Sep-09 2:11 
GeneralRe: BinarySearch checks same element Pin
Caio19859-Sep-09 3:03
Caio19859-Sep-09 3:03 
Hi Luc,

Reply to 1: Yes, I verified that just after I posted the reply.

Reply to 2: Agree.

Reply to 3: In fact, to use statistics I'd need a SortedDictionary since after I insert the values on this dictionary I need to sort them according to the number of hits. The problem here is that I verified that on SortedDictionary, as opposed to Dictionary, when you call Add method for an specific key, it does not update the value of the key, instead you have to remove the element using Remove and add it again using method. Therefore many search calls are done.

To illustrate:

if (color.ContainsKey(intColor))
 {
     int value = color[intColor] + 1;
     color.Remove(intColor);
     color.Add(intColor, value);
 }
 else
 {
     color.Add(intColor, 1);
 }


Is there any other way to do that?

Regards,
GeneralRe: BinarySearch checks same element Pin
Caio19859-Sep-09 4:16
Caio19859-Sep-09 4:16 
GeneralRe: BinarySearch checks same element Pin
Luc Pattyn9-Sep-09 10:24
sitebuilderLuc Pattyn9-Sep-09 10:24 
QuestionWhere to POST? Pin
Jacobb Michael9-Sep-09 0:43
Jacobb Michael9-Sep-09 0:43 
QuestionDeveloping messenger Pin
Xmen Real 9-Sep-09 0:40
professional Xmen Real 9-Sep-09 0:40 
GeneralRe: Developing messenger Pin
CoderForEver9-Sep-09 23:45
CoderForEver9-Sep-09 23:45 
Questionobtain Ram and Monitor features Pin
moein.serpico9-Sep-09 0:33
moein.serpico9-Sep-09 0:33 
AnswerRe: obtain Ram and Monitor features Pin
Eddy Vluggen9-Sep-09 0:52
professionalEddy Vluggen9-Sep-09 0:52 
GeneralRe: obtain Ram and Monitor features Pin
moein.serpico9-Sep-09 4:17
moein.serpico9-Sep-09 4:17 

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.