May 2010
Intermediate to advanced
1272 pages
61h 18m
English
Reference types are represented by classes. Classes are probably the most important items in modern programming languages and are the basis of the object-oriented programming as we see later in the book. Reference types have one big difference versus value types: Variables that declare a reference type do not store the data of the type itself, whereas they just store an address to the data. In other words, they are just pointers to the data. To better explain (and understand) this fundamental concept, an example is necessary. Consider the following class Person, which exposes two simple properties:

You need to instantiate ...
Read now
Unlock full access