Mid LINQ

How to select a property and transform it?

How to select a property and transform it?

var employeeEmails = employees.Select(e => e.Name.ToLower() +

"@company.com");

foreach (var email in employeeEmails)

Console.WriteLine(email);

More from LINQ Tutorial

All questions for this course