摘要: 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 阅读全文
posted @ 2011-07-02 16:55 ._ 阅读(215) 评论(0) 推荐(0) 编辑