S
Sly
Hi!
I am facing an unbreakable wall.
I have a class 'x' with one array in it called arr;
in Equals(x arg) routine I compare the elements of the
array.
But first I check whether
if( arg.arr == null )
{
return( false ) ;
}
DEBUGGER shows 3 elements in the array - so it is not
NULL!
comparison however returns TRUE !!!!!!!
What the heck is this?
Can anyone help me on that please?
Sly
I am facing an unbreakable wall.
I have a class 'x' with one array in it called arr;
in Equals(x arg) routine I compare the elements of the
array.
But first I check whether
if( arg.arr == null )
{
return( false ) ;
}
DEBUGGER shows 3 elements in the array - so it is not
NULL!
comparison however returns TRUE !!!!!!!
What the heck is this?
Can anyone help me on that please?
Sly