Click here to Skip to main content
15,921,716 members
Home / Discussions / C#
   

C#

 
AnswerRe: cancel mouse click on a control Pin
Robske1-Sep-08 20:48
Robske1-Sep-08 20:48 
QuestionHow to Drag and Drop the Button Control using WPF (C Sharp) Pin
bruze1-Sep-08 4:47
bruze1-Sep-08 4:47 
AnswerRe: How to Drag and Drop the Button Control using WPF (C Sharp) Pin
Manas Bhardwaj1-Sep-08 5:01
professionalManas Bhardwaj1-Sep-08 5:01 
QuestionSerialization load/save getting a different HashCode.... Pin
Guilherme Morais1-Sep-08 3:26
Guilherme Morais1-Sep-08 3:26 
AnswerRe: Serialization load/save getting a different HashCode.... Pin
Natza Mitzi1-Sep-08 3:56
Natza Mitzi1-Sep-08 3:56 
GeneralRe: Serialization load/save getting a different HashCode.... Pin
leppie1-Sep-08 5:40
leppie1-Sep-08 5:40 
GeneralRe: Serialization load/save getting a different HashCode.... Pin
Natza Mitzi1-Sep-08 20:31
Natza Mitzi1-Sep-08 20:31 
AnswerRe: Serialization load/save getting a different HashCode.... Pin
Wendelius1-Sep-08 4:30
mentorWendelius1-Sep-08 4:30 
I suppose this is normal behaviour. There are no guarantees that the hash code is the same when retrieved for an object nor that it is unique. If you want to predict the value of the hashcode (for example that it stays the same), you must build your own implementation.

From BOL:
The default implementation of the GetHashCode method does not guarantee unique return values for different objects. Furthermore, the .NET Framework does not guarantee the default implementation of the GetHashCode method, and the value it returns will be the same between different versions of the .NET Framework. Consequently, the default implementation of this method must not be used as a unique object identifier for hashing purposes.
AnswerRe: Serialization load/save getting a different HashCode.... Pin
leppie1-Sep-08 5:39
leppie1-Sep-08 5:39 
QuestionPrint the information on a Windows Form Pin
Puneet Bhatnagar1-Sep-08 2:59
Puneet Bhatnagar1-Sep-08 2:59 
AnswerRe: Print the information on a Windows Form Pin
leppie1-Sep-08 3:04
leppie1-Sep-08 3:04 
JokeRe: Print the information on a Windows Form Pin
lisan_al_ghaib1-Sep-08 4:51
lisan_al_ghaib1-Sep-08 4:51 
AnswerRe: Print the information on a Windows Form Pin
C1AllenS1-Sep-08 3:06
C1AllenS1-Sep-08 3:06 
AnswerRe: Print the information on a Windows Form Pin
Paul Conrad1-Sep-08 12:48
professionalPaul Conrad1-Sep-08 12:48 
QuestionClickOnce - The Web server does not appear to have FrontPage Server Extensions installed Pin
steve_rm1-Sep-08 1:08
steve_rm1-Sep-08 1:08 
AnswerRe: ClickOnce - The Web server does not appear to have FrontPage Server Extensions installed Pin
Christian Casutt20-Oct-09 5:29
Christian Casutt20-Oct-09 5:29 
AnswerRe: ClickOnce - The Web server does not appear to have FrontPage Server Extensions installed Pin
MatthysDT22-Jul-10 2:38
MatthysDT22-Jul-10 2:38 
QuestionUsing System32 Dll for sending keyboard keys? Pin
omegazafer1-Sep-08 0:50
omegazafer1-Sep-08 0:50 
AnswerRe: Using System32 Dll for sending keyboard keys? Pin
leppie1-Sep-08 2:09
leppie1-Sep-08 2:09 
GeneralRe: Using System32 Dll for sending keyboard keys? Pin
omegazafer1-Sep-08 2:23
omegazafer1-Sep-08 2:23 
GeneralRe: Using System32 Dll for sending keyboard keys? Pin
leppie1-Sep-08 3:02
leppie1-Sep-08 3:02 
GeneralRe: Using System32 Dll for sending keyboard keys? Pin
omegazafer1-Sep-08 3:38
omegazafer1-Sep-08 3:38 
GeneralRe: Using System32 Dll for sending keyboard keys? Pin
leppie1-Sep-08 5:42
leppie1-Sep-08 5:42 
AnswerRe: Using System32 Dll for sending keyboard keys? Pin
DaveyM691-Sep-08 7:35
professionalDaveyM691-Sep-08 7:35 
QuestionTcpClient for Windows Mobile 6 Pin
leslie wu1-Sep-08 0:15
leslie wu1-Sep-08 0:15 

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.