Eurofins interview question

Write an extension method in c#