Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IEnumerable<string> query1 =
- from client in clients
- select client;
- IEnumerable<string> query2 =
- from company in companies
- select company;
- IEnumerable<string> query3 =
- from user in users
- select user;
- IEnumerable<string> query4 =
- from user in users
- where user.StartsWith("a")
- select user;
- IEnumerable<string> query5 =
- from client in clients
- where client.phone != null
- select client;
- IEnumerable<string> query6 =
- from user in users
- where user.isAdmin == true
- select user;
- IEnumerable<string> query7 =
- from company in companies
- where company.city == "Gliwice"
- select company;
- IEnumerable<string> query8 =
- from user in users
- where user.isAdmin == false
- select user;
- IEnumerable<string> query9 =
- from client in clients
- where client.phone == null
- select client;
- IEnumerable<string> queryOrder =
- from result in results
- orderby result
- select result;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement