Click here to Skip to main content
15,889,724 members
Home / Discussions / C#
   

C#

 
GeneralRe: serialize atextbox control Pin
ncjlee9-Jun-08 0:33
ncjlee9-Jun-08 0:33 
QuestionListBox throwing a "Not valid value"-exception Pin
Gadjuka8-Jun-08 23:14
Gadjuka8-Jun-08 23:14 
AnswerRe: ListBox throwing a "Not valid value"-exception Pin
#realJSOP9-Jun-08 2:57
mve#realJSOP9-Jun-08 2:57 
GeneralRe: ListBox throwing a "Not valid value"-exception Pin
Gadjuka9-Jun-08 20:02
Gadjuka9-Jun-08 20:02 
GeneralRe: ListBox throwing a "Not valid value"-exception Pin
#realJSOP10-Jun-08 0:10
mve#realJSOP10-Jun-08 0:10 
QuestionSortedDictionary v.s. Dictionary Pin
George_George8-Jun-08 22:41
George_George8-Jun-08 22:41 
AnswerRe: SortedDictionary v.s. Dictionary Pin
leppie9-Jun-08 3:43
leppie9-Jun-08 3:43 
GeneralRe: SortedDictionary v.s. Dictionary Pin
George_George9-Jun-08 16:57
George_George9-Jun-08 16:57 
Thanks leppie!


I agree. Looks like lookup operation in Dictionary is faster than SortedDictionary, here are some further documents I found. Do you think they support your conclusion? Smile | :)

Mentioned here,

http://msdn.microsoft.com/en-us/library/xfhwa508(VS.80).aspx

"Retrieving a value by using its key is very fast, close to O(1), because the Dictionary class is implemented as a hash table." Looks like the query time for Dictionary is O(1), but the query time for SortedDictionary is O(logn) -- "The SortedDictionary generic class is a binary search tree with O(log n) retrieval, where n is the number of elements in the dictionary. In this respect, it is similar to the SortedList generic class. The two classes have similar object models, and both have O(log n) retrieval. Where the two classes differ is in memory use and speed of insertion and removal."

http://msdn.microsoft.com/en-us/library/f7fta44c(VS.80).aspx


regards,
George
QuestionX509Store from file Pin
komadich8-Jun-08 22:40
komadich8-Jun-08 22:40 
GeneralRe: X509Store from file Pin
telha9-Jun-08 0:40
telha9-Jun-08 0:40 
QuestionEncoding problem with string from DLL Pin
steve_rm8-Jun-08 21:46
steve_rm8-Jun-08 21:46 
AnswerRe: Encoding problem with string from DLL Pin
ncjlee8-Jun-08 21:56
ncjlee8-Jun-08 21:56 
QuestionRe: Encoding problem with string from DLL Pin
steve_rm9-Jun-08 1:45
steve_rm9-Jun-08 1:45 
AnswerRe: Encoding problem with string from DLL Pin
ncjlee9-Jun-08 2:40
ncjlee9-Jun-08 2:40 
QuestionRe: Encoding problem with string from DLL Pin
steve_rm9-Jun-08 16:33
steve_rm9-Jun-08 16:33 
Questioni want to upload all files from one folder( in client side) to server without browse option Pin
md_azy8-Jun-08 21:30
md_azy8-Jun-08 21:30 
AnswerRe: i want to upload all files from one folder( in client side) to server without browse option Pin
Guffa8-Jun-08 21:33
Guffa8-Jun-08 21:33 
GeneralRe: i want to upload all files from one folder( in client side) to server without browse option Pin
md_azy9-Jun-08 1:29
md_azy9-Jun-08 1:29 
GeneralRe: i want to upload all files from one folder( in client side) to server without browse option Pin
Guffa9-Jun-08 6:38
Guffa9-Jun-08 6:38 
QuestionHow to remove zero using Regx Pin
Exelioindia8-Jun-08 21:27
Exelioindia8-Jun-08 21:27 
AnswerRe: How to remove zero using Regx Pin
Exelioindia8-Jun-08 21:47
Exelioindia8-Jun-08 21:47 
GeneralRe: How to remove zero using Regx Pin
ncjlee8-Jun-08 22:04
ncjlee8-Jun-08 22:04 
QuestionPloblem about multithread programing? Pin
abcomp018-Jun-08 21:26
abcomp018-Jun-08 21:26 
AnswerRe: Ploblem about multithread programing? Pin
ncjlee8-Jun-08 21:38
ncjlee8-Jun-08 21:38 
Questiongetting xml data from previous form Pin
laziale8-Jun-08 21:16
laziale8-Jun-08 21:16 

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.