Which of the following are true about Extension methods?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • salman1986
    New Member
    • Mar 2010
    • 2

    #1

    Which of the following are true about Extension methods?

    1) They must be declared static
    2) They can be declared either static or instance members
    3) they must be declares in the same assembly(but may be in different sources files)
    4) Extension methods can be used to override existing instance methods
    5) Extension methods with the same signature for the same class may be declared in multiple namespace without
    causing compilation errors

    More than one can be correct?
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Do your own homework.

    Comment

    Working...