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