Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to open Image n Video file header in c# Pin
Christian Graus29-Oct-09 18:47
protectorChristian Graus29-Oct-09 18:47 
GeneralRe: how to open Image n Video file header in c# Pin
shrikant121330-Oct-09 6:15
shrikant121330-Oct-09 6:15 
QuestionObject.Equals(object one, object two) vs Object.ReferenceEquals(object one, object two) [SOLVED] Pin
CaptainSeeSharp29-Oct-09 8:16
CaptainSeeSharp29-Oct-09 8:16 
AnswerRe: Object.Equals(object one, object two) vs Object.ReferenceEquals(object one, object two) Pin
Ian Shlasko29-Oct-09 8:34
Ian Shlasko29-Oct-09 8:34 
GeneralRe: Object.Equals(object one, object two) vs Object.ReferenceEquals(object one, object two) Pin
Henry Minute29-Oct-09 8:36
Henry Minute29-Oct-09 8:36 
GeneralRe: Object.Equals(object one, object two) vs Object.ReferenceEquals(object one, object two) Pin
CaptainSeeSharp29-Oct-09 8:47
CaptainSeeSharp29-Oct-09 8:47 
AnswerRe: Object.Equals(object one, object two) vs Object.ReferenceEquals(object one, object two) Pin
Henry Minute29-Oct-09 8:34
Henry Minute29-Oct-09 8:34 
GeneralRe: Object.Equals(object one, object two) vs Object.ReferenceEquals(object one, object two) [modified] Pin
CaptainSeeSharp29-Oct-09 8:40
CaptainSeeSharp29-Oct-09 8:40 
I figured it out, I stepped through the code and learned that the static Object.Equals(object a, object b) called in the operator overload actually makes a call to the virtual instance-level Equals(object obj), so the static ReferenceEquals has to be used to test for instance equality. Though by default the static Object.Equals(object a, object b) will do the same thing as the static ReferenceEquals, unless you override the instance-level Equals method, because the default instance-level Equals method tests for instance equality.


modified on Thursday, October 29, 2009 2:48 PM

Questionmake video Pin
behzadcp29-Oct-09 7:38
professionalbehzadcp29-Oct-09 7:38 
AnswerRe: make video Pin
Henry Minute29-Oct-09 8:39
Henry Minute29-Oct-09 8:39 
AnswerRe: make video Pin
EliottA29-Oct-09 8:40
EliottA29-Oct-09 8:40 
GeneralRe: make video Pin
_Madmatt29-Oct-09 9:46
_Madmatt29-Oct-09 9:46 
GeneralRe: make video Pin
EliottA29-Oct-09 9:49
EliottA29-Oct-09 9:49 
GeneralRe: make video Pin
_Madmatt29-Oct-09 9:56
_Madmatt29-Oct-09 9:56 
GeneralRe: make video Pin
EliottA29-Oct-09 9:58
EliottA29-Oct-09 9:58 
GeneralRe: make video Pin
_Madmatt29-Oct-09 10:02
_Madmatt29-Oct-09 10:02 
GeneralRe: make video Pin
EliottA29-Oct-09 10:03
EliottA29-Oct-09 10:03 
GeneralRe: make video Pin
_Madmatt29-Oct-09 10:05
_Madmatt29-Oct-09 10:05 
GeneralRe: make video Pin
EliottA29-Oct-09 10:06
EliottA29-Oct-09 10:06 
GeneralRe: make video Pin
_Madmatt29-Oct-09 10:08
_Madmatt29-Oct-09 10:08 
GeneralRe: make video Pin
EliottA29-Oct-09 10:40
EliottA29-Oct-09 10:40 
GeneralRe: make video Pin
_Madmatt29-Oct-09 20:46
_Madmatt29-Oct-09 20:46 
AnswerRe: make video Pin
HimanshuJoshi29-Oct-09 23:46
HimanshuJoshi29-Oct-09 23:46 
QuestionCommiunicating with (Dial up or ADSL) Modem (or Wireless Card ) using Serial Port Pin
spiritboy29-Oct-09 5:56
spiritboy29-Oct-09 5:56 
AnswerRe: Commiunicating with (Dial up or ADSL) Modem (or Wireless Card ) using Serial Port Pin
Saksida Bojan29-Oct-09 6:37
Saksida Bojan29-Oct-09 6:37 

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.