Which of the following are true about Extension Methods?

Discussion in 'C#' started by bhuppi890109, Oct 23, 2011.

  1. #1
    Which of the following are true about Extension Methods?

    1.they can be declared either static or instance members.
    2.extension methods can be used to override existing instance methods
    3.extensio methods with the same signature for the same class may be declared in multiple namespace without causing comilation errors.
    4. they must be declared in the same assembley(but may be in different source files)
     
    bhuppi890109, Oct 23, 2011 IP