Object class, java.lang package
java types inherit from, 15
Object class, System namespace
Equals method, 78, 162
GetHashCode method, 80
GetType method, 75
MemberWiseClone method, 199
overridable public methods, 25
ToString method, 76
types as objects, 15
working with, 75
object creation, 178
cloning objects, 196
copy constructors, 196
ICloneable interface, 198
constructors, 186
calling a base class constructor, 188
chaining constructors, 187
private constructors, 189
static constructors, 191
conversion operators, 193
default assigned values, 178
defining class constructors, 179
design patterns, 204
destruction, and, 181
Employee example, 178
object destruction, 181
Employee example, 182
using IDisposable interface, 184
object lifecycle, 175
operator support
primitive types, 16
operator_overload example
consumed in VB .NET, 159
operators, 125, 151
and overloading, 151
as expressions, 151
classes and, 154
operators_no_operators example, 154
compiling into MSIL, 157
operator overload and cross language support, 159
operator overload best practice, 171
operator_overload example, 159
operators_overload example, 156
overloading in pairs, 169
operators_pairs example, 169
overloading syntax, 152
parameters, 153
structures and, 166
operators_structs example, 167
summary, 171
symetrical operator overloads, 160
type comparison and equality, 161
operators_equality example, 162
operators_equality example, 162
main points of interest, 164
operators_no_operators example, 154
operators_overload example, 156
operators_pairs example, 169
operators_structs example, 167
operators_symmetrical example
symetrical operator overloads, 161
OR operator |
setting individual bits in variable, 31
output parameters, 93
overloading methods, 106
advantages, 107
basic example, 107
guidelines for, 108
overloading_indexer example, 148
overriding_and_shadowing example, 278