Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Mee;
- using Mee.Linq;
- void main(string[] args){
- long[] array = new long[]{3738,6738,6728,6298,672,376};
- Query<long> query = Query.from<long>(array)
- .where<long>( l => { return l.to_string().contains("7"); })
- .select<long>( l => { return l/2; })
- .reverse();
- foreach(long l in query)
- stdout.printf("%ld\n",l);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement