Monday, October 4, 2010

Value type polymorphism

.NET value types are objects descending from Object; but, they cannot inherit from other types. They can implement interfaces. Thus, primitives—such as Int32— can implement the IComparable interface, for example, making them comparable.

Share This!

1 comment:

Anonymous said...

i never thought about "Type" in polymorphism. i just got to know from here about it.


Powered By Blogger · Designed By Seo Blogger Templates