The .Net framework itself is built with a number
of interfaces, each of these
interfaces are pre-defined and have a specific purpose. The classes which
implement these interfaces should override the methods in these interfaces,
this way .Net makes sure that all the classes which implement the interfaces
are consistent. The classes can add their own methods but they should definitely
implement the methods defined in the interface.
The following are some of the commonly used interfaces which are per-defined in the .Net framework.
IEnumerable
IQueriable
IDisposable
IClonable
IDataReader
IComparable
IFormattable
The above is just a short list, there are many other pre-defined interfaces in .Net Framework which server different purposes. We shall see the purpose of IEnumerable and IQueriable in detail in the following posts.
The following are some of the commonly used interfaces which are per-defined in the .Net framework.
IEnumerable
IQueriable
IDisposable
IClonable
IDataReader
IComparable
IFormattable
The above is just a short list, there are many other pre-defined interfaces in .Net Framework which server different purposes. We shall see the purpose of IEnumerable and IQueriable in detail in the following posts.
No comments:
Post a Comment