public static void Main(string[] args) { using (MyIo io = new MyIo(new StreamReader("input.txt"), new StreamWriter("output.txt"))) { new Program(io).Solve(); } }
public Program(MyIo io) { this.io = io; }