Finished Understanding Lambda Expression
This commit is contained in:
parent
7756047de1
commit
e0d20ef793
@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Features
|
||||
{
|
||||
@ -33,6 +34,11 @@ namespace Features
|
||||
{
|
||||
Console.WriteLine();
|
||||
}
|
||||
|
||||
foreach (var employee in developers.Where(x => x.Name.StartsWith("S")))
|
||||
{
|
||||
Console.WriteLine(employee.Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user