June 2006
Intermediate to advanced
1344 pages
42h 52m
English
A variable that “stores” an object, such as an array, does not actually store the object itself. Instead, the variable stores a reference to the object (i.e., the address of the location in the computer’s memory where the object is stored). Recall that in Chapters 4–6, we discussed two types of variables—value types and reference types. The distinction between value-type variables and reference-type variables raises some subtle issues that you must understand to create secure, stable programs.
When used to declare a value-type parameter, keyword ByVal causes the value of the argument to be copied to a local variable in the method. Changes ...
Read now
Unlock full access