T-Systems Interview Question

write a LINQ extension method