Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does extension method come under object oriented concept in c#?

0
Posted

Does extension method come under object oriented concept in c#?

0

Extension methods are not an object oriented language feature. (compared to: classes, inheritance, polymorphism etc). Like every language feature, it should be used where it is appropriate and for what it is designed for. There are already dozens of questions about when and how to use Extension methods.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123