Y
yaya via DotNetMonster.com
Hi, is that any way to compare 2 int arrays without comparing each of the elements ?
int []p = new int[3] {1,2,3};
int []q = new int[3] {1,2,3};
if(p == q)
MessageBox.Show(" Arrays are equal! ");
But the (p==q) return false while the arrays p and q have the same elements.
Thankz,
yaya
int []p = new int[3] {1,2,3};
int []q = new int[3] {1,2,3};
if(p == q)
MessageBox.Show(" Arrays are equal! ");
But the (p==q) return false while the arrays p and q have the same elements.
Thankz,
yaya