摘要:
System.Object类中的Equals和ReferenceEquals方法publicvirtualboolEquals(objectobj){returnRuntimeHelpers.Equals(this,obj);}publicstaticboolEquals(objectobjA,objectobjB){return((objA==objB)||(((objA!=null)&&(objB!=null))&&objA.Equals(objB)));}publicstaticboolReferenceEquals(objectobjA,objectob 阅读全文