static void Main(string[] args) { try { algorithm a = new algorithm(args[0], args[1], args[2]); a.futtat(); } catch (Exception e) { System.Console.WriteLine("Bad Args"); } }