 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| l |
All classes
are subclasses of System.Object
|
|
|
| l |
Methods of
System.Object
|
|
|
|
Ø |
ToString –
string representation (for output display); by
|
|
|
default the
name of the object
|
|
|
|
Ø |
GetHashCode –
gets a hash code so object can be looked up
|
|
in a
dictionary (integer value)
|
|
|
|
Ø |
Equals –
returns .T. if current object’s “value” matches value
|
|
|
object; used
to find objects in collections
|
|
|
|
Ø |
ReferenceEquals
– returns .T. if object is the same as
|
|
|
argument
object (exactly the same object; not just the same
|
|
|
value)
|
|
|
|
Ø |
GetType –
returns the type of the object in System.Type
|
|
|
|
Ø |
MemberwiseClone
– copies to another object all data values
|
|