您的位置:首页 > 移动开发 > Objective-C

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

2015-09-16 15:18 323 查看
NameDescription
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.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
GetHashCodeServes as the default hash function.
GetTypeGets the Type of the current instance.
MemberwiseCloneCreates a shallow copy of the currentObject.
ReferenceEqualsDetermines whether the specifiedObject instances are the same instance.
ToStringReturns a string that represents the current object.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: