
Asked in HCLTech
What is an extension method, and can you provide an example?

AnswerBot
10mo
Extension methods allow adding new methods to existing types without modifying the original type.
Extension methods must be defined in a static class.
The first parameter of an extension method specifie...read more
Help your peers!
Add answer anonymously...
Interview Questions Asked to full stack .net developer at Other Companies
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

