View Single Post
Old Jan 18th, 2007, 6:24 AM   #13
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
In C#, this:
x == y
Is loosely equivalent to this in Java:
(x == null && y == null) || (x != null && x.equals(y))
Going in the opposite direction, this in Java:
x == y
Is equivalent to this in C#:
object.ReferenceEquals(x, y)
Arevos is offline   Reply With Quote