摘要: 第六章 通用对象操作 一.对象的等值性和惟一性 System.Object类型提供了一个Equals的虚方法,其目的为判断两个对象是否有个相同的"值". Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 class Object ... 阅读全文
posted @ 2008-09-15 15:18 打瞌睡的耶稣 阅读(305) 评论(0) 推荐(0)
摘要: 第四章 一: System.Object的公有方法: Equals(); GetHashCode(); ToString(); GetType(); 下面的是对GetType的一个例子: using System; using System.Collections.Generic; using System.Text; namespace GetType { c... 阅读全文
posted @ 2008-09-13 11:19 打瞌睡的耶稣 阅读(231) 评论(0) 推荐(0)