Mohammad Irshad
Is it possible achieving Method extension using Interface?
By Mohammad Irshad in C# on Feb 03 2018
  • Kiran Kapse
    Feb, 2018 6

    Of course they can; most of Linq is built around interface extension methods.Interfaces were actually one of the driving forces for the development of extension methods; since they can't implement any of their own functionality, extension methods are the easiest way of associating actual code with interface definitions.

    • 5
  • Munib Butt
    Apr, 2020 28

    Yes, you can create extension methods for an interface.

    • 1


Most Popular Job Functions


MOST LIKED QUESTIONS