public static void Main() { Console.Title = "sProxy"; Console.Write("sProxy\nScraper, Checker, Connections\n\nFunction: "); var function = Console.ReadLine().ToLower(); if (function != "" && function.Length != 1) { if (function[0] == 's') { Proxys.scraper(); } else if (function[0] == 'c' && function[1] == 'h') { Proxys.checker(); } else if (function[0] == 'c' && function[1] == 'o') { Proxys.connect(); } } else { Console.Clear(); Main(); } }
private static void Inicio() { int illave = ValidarLlave(); ILlave autos = new Auto(); ILlave proxy = new Proxys(autos); proxy.EncenderAuto(illave); Reinicio(); }