Click here to Skip to main content
15,895,462 members
Home / Discussions / C#
   

C#

 
AnswerRe: Object array problem Pin
dan!sh 30-Nov-09 18:25
professional dan!sh 30-Nov-09 18:25 
GeneralRe: Object array problem Pin
CrazyCoder2630-Nov-09 18:29
CrazyCoder2630-Nov-09 18:29 
GeneralRe: Object array problem Pin
dan!sh 30-Nov-09 18:43
professional dan!sh 30-Nov-09 18:43 
AnswerRe: Object array problem Pin
Blue_Boy30-Nov-09 20:55
Blue_Boy30-Nov-09 20:55 
GeneralRe: Object array problem Pin
vtchris-peterson1-Dec-09 7:20
vtchris-peterson1-Dec-09 7:20 
GeneralRe: Object array problem Pin
CikaPero2-Dec-09 5:05
CikaPero2-Dec-09 5:05 
GeneralRe: Object array problem Pin
Blue_Boy2-Dec-09 6:58
Blue_Boy2-Dec-09 6:58 
AnswerRe: Object array problem Pin
ThatsAlok30-Nov-09 22:42
ThatsAlok30-Nov-09 22:42 
CrazyCoder26 wrote:
But it is returning false (I know I am wrong).


Actually you comparing memory location thats why you it return false.
consider the case :-

When you create object, the memory is created in Heap and it's heap memory reference is stored in stack.

So object as such nothing but variable containing address location, so when you compare two object, they bound to differ on memory address, so the answer

"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixture


cheers,
Alok Gupta
VC Forum Q&A :- I/IV
Support CRY- Child Relief and You

AnswerRe: Object array problem Pin
Shameel1-Dec-09 6:54
professionalShameel1-Dec-09 6:54 
AnswerRe: Object array problem Pin
vtchris-peterson1-Dec-09 7:17
vtchris-peterson1-Dec-09 7:17 
Question[Message Deleted] Pin
arun_pk30-Nov-09 17:32
arun_pk30-Nov-09 17:32 
AnswerWrong Forum Pin
dan!sh 30-Nov-09 17:45
professional dan!sh 30-Nov-09 17:45 
Question[Solved] Client-Server communication Pin
Frank Böttcher30-Nov-09 16:08
Frank Böttcher30-Nov-09 16:08 
AnswerRe: Client-Server communication Pin
Jimmanuel1-Dec-09 3:36
Jimmanuel1-Dec-09 3:36 
AnswerRe: Client-Server communication Pin
Paulo Zemek1-Dec-09 5:17
mvaPaulo Zemek1-Dec-09 5:17 
QuestionProblem editing DataGrid Pin
Maxdd 730-Nov-09 14:28
Maxdd 730-Nov-09 14:28 
AnswerRe: Problem editing DataGrid Pin
Dr.Walt Fair, PE30-Nov-09 17:07
professionalDr.Walt Fair, PE30-Nov-09 17:07 
QuestionSugestion needed for information - WM 6.0 Pin
Maxdd 730-Nov-09 13:39
Maxdd 730-Nov-09 13:39 
AnswerRe: Sugestion needed for information - WM 6.0 Pin
hisen30-Nov-09 14:08
hisen30-Nov-09 14:08 
GeneralRe: Sugestion needed for information - WM 6.0 Pin
Maxdd 730-Nov-09 14:09
Maxdd 730-Nov-09 14:09 
GeneralRe: Sugestion needed for information - WM 6.0 Pin
hisen30-Nov-09 14:18
hisen30-Nov-09 14:18 
GeneralRe: Sugestion needed for information - WM 6.0 Pin
Maxdd 730-Nov-09 14:20
Maxdd 730-Nov-09 14:20 
GeneralRe: Sugestion needed for information - WM 6.0 Pin
hisen30-Nov-09 15:13
hisen30-Nov-09 15:13 
QuestionBind ListView from SQL query Pin
Maxdd 730-Nov-09 13:34
Maxdd 730-Nov-09 13:34 
QuestionBest WinForm approach to presenting XML file in a pretty manner? Pin
sherifffruitfly30-Nov-09 13:32
sherifffruitfly30-Nov-09 13:32 

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.