Reputation: 141
Can anyone help me convert this to a Lambda form
double abc = (from x in y
select (new Employee(x)).Name).SomeMethod();
abc = Math.Double(abc/1000, 2.0);
Upvotes: 1
Views: 114
Reputation: 2429
Is that what you after?
var abc = y.Select(x => new Employee(x).Name).SomeMethod();
abc = Math.Double(abc/1000, 2.0);
Upvotes: 1