You are on page 1of 1

List of Publications.

<p
</br>
<a href="http://www.idspak.com">www.idspak.com</a>
</p>
There are two basic data types:
1- Value Type
a. Value/contents and reference are both on the same location of memory
b. Value type exists in the STACK portion of memory.
c. All value types are by default pass by value but if we want then we can change it to
pass by reference.
d. All data Types except (String,Object) are examples of value type.
2- Reference Type
a. Reference is separated from contents/value
b. Reference exist separately and contents separately exist , and the contents is pointed
by reference
c. Just like pointers but not direct memory access like pointers
d. Contents of Reference Type are Managed on HEAP Portion of Memory and their
references are managed on STACK portion.
e. A Reference Type is only Pass by Reference.
f. Examples are Reference Data Types are String,Object
Note:
To down load above publication please visit www.idspak.com

You might also like