Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- using System.IO;
- using System.Text.RegularExpressions;
- class Program {
- static void Main(string[] args) {
- var usefulProjection_ = new Regex("[1-9]");
- args.SelectMany(s => File.ReadAllLines(s)).
- Where(s => usefulProjection_.IsMatch(s)).ToList().
- ForEach(s => Console.WriteLine(s));
- }
- }
Add Comment
Please, Sign In to add comment