December 2001
Beginner
976 pages
22h 4m
English
We will present an overview of some of the most common interfaces in the .NET Framework. We will also specify where in the book they are described in more detail.
You have already seen the ICloneable and IComparable, which are the most-used general purpose interfaces in .NET Framework. Another useful interface is IConvertible, which defines methods to convert a value (normally derived from ValueType) into any of the fundamental data types (as well as some .NET Framework–specific data types). It has methods like ToString, ToDouble, ToDecimal, and so on. If you would like your class to implement this interface, you must implement all these methods.
The System.Collections namespace has a few very useful interfaces ...
Read now
Unlock full access