Employee example
object creation, 178
object destruction, 182
Empty property, EventArgs class, 247
EndInvoke method, delegate types, 235, 237
invoking delegates asynchronously, 232
not supported by Intellisense, 234
Enum class, System namespace
enumerations inherit from, 28
Format method, 29
IsDefined method, 30
Parse method, 30
enum keyword
enumerations and, 28
enumerations, 16
bit flags, 30
enum keyword and, 28
example of using, 28
introduction, 28
reasons for using, 32
validity checking of values, 33
Environment class, System namespace
NewLine property, 45
Equals method, Object class, 75, 162
sysobject_equals_bankaccount example, 78
using with GetHashCode method, 81
event handlers
architecture of events, 239
event sources, 239
multicast delegates, 240
event keyword
publishing events, 239
event receivers, 239
subscribing to events, 239
event sources, 239
publishing events, 239, 241
DelegatesEvents\SimpleEvent example, 241
Event keyword, 239
static events, 251
raising events, 240
EventArgs class, System namespace, 247
Empty property, 247
EventHandler class, System namespace, 242, 243, 248, 249
events, 238
architecture of events, 239
event receivers, 239
multicast delegates, 240
defining, 35
defining single event using explicit sigature, 242
defining your own registration methods,
DelegatesEvents\CustomAddRemove example, 254
delegates, 215
internal events, 242
introduction, 238
private events, 242
protected events, 242
public events, 242
publishing events
creating events that pass information, 248
defining static events, 251
defining your own registration methods, 254
dynamically registering and unregistering, 253
raising the event, 246
registering to a published event, 244
role in interfaces, 256
example_inheritance example
creating a class hierachy, 271
Exception class, System namespace
exceptions derrived from, 114
exception handling, 110
throwing, 113
try…catch…finally statement, 112
exceptions
creating classes, 114
common constructors, 115
definintion, 111
exception handling, 110
explicit keyword, 193
explicit_conversion example
conversion operators, 193
extends keyword, 283