Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

newbie question - the "I" at the start of terms

0 views
Skip to first unread message

Brock

unread,
Oct 10, 2008, 11:40:07 AM10/10/08
to
What does the "I" at the start of some terms signify? Examples:
INamingContainer, IComparable
Also what are some of the most common examples and their use?

Nathan Sokalski

unread,
Oct 10, 2008, 12:13:44 PM10/10/08
to
That is just the naming convention for an Interface in the .NET Framework.
Some of the most common ones (at least that I have used, but how often which
ones are used can depend on whether you do web or desktop development and
whether you are writing applications or creating control libraries) are
IPostBackDataHandler, which is used to handle form data in web custom
controls and ICallbackEventHandler, which is used for client callbacks. But
these are just a few of the many Interfaces in the framework, for a complete
list you will need to look at the documentation. But I also want to mention
that many of the Interfaces are used more by classes already in the
framework than by developers. For example, Validators (such as
RequiredFieldValidator, RegularExpressionValidator, etc.) are of type
IValidator, but when creating a custom Validator you inherit from the
BaseValidator class (which implements IValidator) rather than implement the
IValidator Interface for every custom Validator. Hopefully this can get you
started, and obviously you can always find more information in the
documentation.
--
Nathan Sokalski
njsok...@hotmail.com
http://www.nathansokalski.com/

"Brock" <wade....@yahoo.com> wrote in message
news:488e1e86-ed6b-403b...@75g2000hso.googlegroups.com...

0 new messages