C# - object有哪些基本方法类有

Name Description
Equals(Object) Determines whether the specified object is equal to the current object.
Equals(Object, Object) Determines whether the specified object instances are considered equal.
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
GetHashCode Serves as the default hash function.
GetType Gets the Type of the current instance.
MemberwiseClone Creates a shallow copy of the currentObject.
ReferenceEquals Determines whether the specifiedObject instances are the same instance.
ToString Returns a string that represents the current object.

版权声明:本文博主原创文章,博客,未经同意不得转载。

posted @ 2015-09-16 15:18  mengfanrong  阅读(786)  评论(0编辑  收藏  举报