Specialization, Extension, and Inheritance
- slide 23 : 40
Methods in the class
Object
in C#
The methods in class Object can be used uniformly on both values and objects in C#
Public methods in class
Object
Equals:
obj1.Equals(obj2)
- Instance method
Object.Equals(obj1, obj2)
- Static method
Object.ReferenceEquals(obj1,obj2)
- Static method
obj.GetHashCode()
obj.GetType()
obj.ToString()
Protected methods in class
Object
obj.Finalize()
obj.MemberwiseClone()
Cloning
Class Object