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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brock

    #1

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

    What does the "I" at the start of some terms signify? Examples:
    INamingContaine r, IComparable
    Also what are some of the most common examples and their use?
  • Nathan Sokalski

    #2
    Re: newbie question - the "I&quot ; at the start of terms

    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
    IPostBackDataHa ndler, which is used to handle form data in web custom
    controls and ICallbackEventH andler, 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
    RequiredFieldVa lidator, RegularExpressi onValidator, 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
    njsokalski@hotm ail.com
    有声小说网为广大读者提供热门小说在线免费阅读,本站收集的网络文学小说情节跌宕起伏,有声小说网是值得书友们收藏的小说在线阅读网。


    "Brock" <wade.brock@yah oo.comwrote in message
    news:488e1e86-ed6b-403b-8a25-ba372c2910b6@75 g2000hso.google groups.com...
    What does the "I" at the start of some terms signify? Examples:
    INamingContaine r, IComparable
    Also what are some of the most common examples and their use?

    Comment

    Working...