Not really sure about the is
keyword, but I think these two are the same. Can anyone confirm this?
public bool Equals(Object obj)
{
if (obj == null) return false;
MyType t = (MyType)obj;
if (t == null) return false;
return true;
}
and the other is...
public bool Equals(Object obj)
{
return obj is MyType;
}