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.

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

上一篇:poj -2010 Moo University - Financial Aid (优先队列)


下一篇:Python修改文件名