Dot Net Interview Questions and Tutorials
By Dr. Rajesh Rolen
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.
1 comment:
i never thought about "Type" in polymorphism. i just got to know from here about it.
Thanks
Post a Comment