Perficient interview question

Write an example LINQ (preferably using LINQ to SharePoint) query on the whiteboard

Interview Answer

Anonymous

18 Feb 2012

// Query for customers from London var londonCustomers = from customer in Customers where customer.City == "London" select customer; Notice how the select statement appears at the bottom of the query. I don't like this syntax, but that is one way it differs from SQL.