Value Type | Reference Type |
Value type variable directly contain value itself. | Reference type variable contain the address of object where the values are placed in memory. Or we can say they store the reference to object. |
All value types are implicitly derived from System.ValueType. | They are derived from System.Object class. |
They doesn’t support inheritance. Means they are sealed implicitly. | They can be inherited. They are internal by default. |
A value type variable can’t be assigned value null. | An object can have value null. |
They can be declared without new operator. | They can’t be declared without new operator. |
Once again great post. You seem to have a good understanding of these themes.When I entering your blog,I felt this . Come on and keep writting your blog will be more attractive. To Your Success!
ReplyDelete-----------------
http://www.kavkey4u.com/