Get names of employees whose names start with 'A'?
Get names of employees whose names start with 'A'
var namesStartingA = employees
.Where(e => e.Name.StartsWith("A"))
.Select(e => e.Name);
Follow :
Get names of employees whose names start with 'A'
var namesStartingA = employees
.Where(e => e.Name.StartsWith("A"))
.Select(e => e.Name);
Follow :