Click here to Skip to main content
15,884,537 members
Home / Discussions / C#
   

C#

 
GeneralRe: Question about Weak Events... Pin
Mark198619-Apr-11 19:36
Mark198619-Apr-11 19:36 
QuestionHow To Use a C Libray in your C# Program Pin
Andy20219-Apr-11 0:43
Andy20219-Apr-11 0:43 
AnswerRe: How To Use a C Libray in your C# Program Pin
Luc Pattyn19-Apr-11 1:05
sitebuilderLuc Pattyn19-Apr-11 1:05 
AnswerRe: How To Use a C Libray in your C# Program Pin
Rick Shaub19-Apr-11 10:18
Rick Shaub19-Apr-11 10:18 
QuestionHashtable/IDictionary - getHashCode and Equals [modified] Pin
devvvy18-Apr-11 23:34
devvvy18-Apr-11 23:34 
AnswerRe: Hashtable/IDictionary - getHashCode and Equals Pin
David198718-Apr-11 23:56
David198718-Apr-11 23:56 
GeneralRe: Hashtable/IDictionary - getHashCode and Equals Pin
Md. Marufuzzaman19-Apr-11 2:06
professionalMd. Marufuzzaman19-Apr-11 2:06 
AnswerRe: Hashtable/IDictionary - getHashCode and Equals Pin
Luc Pattyn19-Apr-11 0:02
sitebuilderLuc Pattyn19-Apr-11 0:02 
The key value is what is used for definining the functionality; the hash value is used for optimizing the performance.

IDictionary requires all keys to be different, that is all. Different keys may result in the same hash value, as the key can have any size, and a hash is just a 32-bit integer, so you can't have an infinite number of different hash values.

And please use PRE tags, I don't read unformatted code...

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

AnswerCORRECTION - Dictionary did throw an ArgumentException if insert two items where Equals returned true Pin
devvvy24-Apr-11 23:43
devvvy24-Apr-11 23:43 
QuestionWhere to Place FullAddress Pin
Anubhava Dimri18-Apr-11 21:24
Anubhava Dimri18-Apr-11 21:24 
AnswerRe: Where to Place FullAddress Pin
Wayne Gaylard18-Apr-11 21:32
professionalWayne Gaylard18-Apr-11 21:32 
AnswerRe: Where to Place FullAddress Pin
Keith Barrow18-Apr-11 22:39
professionalKeith Barrow18-Apr-11 22:39 
GeneralRe: Where to Place FullAddress Pin
Anubhava Dimri18-Apr-11 22:46
Anubhava Dimri18-Apr-11 22:46 
GeneralRe: Where to Place FullAddress Pin
Keith Barrow18-Apr-11 22:57
professionalKeith Barrow18-Apr-11 22:57 
GeneralRe: Where to Place FullAddress Pin
Anubhava Dimri18-Apr-11 23:22
Anubhava Dimri18-Apr-11 23:22 
GeneralRe: Where to Place FullAddress Pin
Dave Kreskowiak19-Apr-11 1:49
mveDave Kreskowiak19-Apr-11 1:49 
GeneralRe: Where to Place FullAddress Pin
Pete O'Hanlon19-Apr-11 2:30
mvePete O'Hanlon19-Apr-11 2:30 
AnswerRe: Where to Place FullAddress Pin
jschell19-Apr-11 8:56
jschell19-Apr-11 8:56 
AnswerRe: Where to Place FullAddress Pin
Prasanta_Prince19-Apr-11 22:52
Prasanta_Prince19-Apr-11 22:52 
Questionwindows service with digital certificate token Pin
piticcotoc18-Apr-11 3:52
piticcotoc18-Apr-11 3:52 
AnswerRe: windows service with digital certificate token Pin
#realJSOP18-Apr-11 5:32
mve#realJSOP18-Apr-11 5:32 
GeneralRe: windows service with digital certificate token Pin
piticcotoc18-Apr-11 23:00
piticcotoc18-Apr-11 23:00 
AnswerRe: windows service with digital certificate token Pin
BobJanova18-Apr-11 23:13
BobJanova18-Apr-11 23:13 
GeneralRe: windows service with digital certificate token Pin
piticcotoc18-Apr-11 23:15
piticcotoc18-Apr-11 23:15 
QuestionRe: windows service with digital certificate token Pin
#realJSOP19-Apr-11 3:36
mve#realJSOP19-Apr-11 3:36 

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.