static void Main(string[] args) { Write(Directory.GetCurrentDirectory() + "\\Car.json"); ICollection <ICar> data = JSONData.Read(Directory.GetCurrentDirectory() + "\\Car.json"); if (Validator.Check(data)) { Taxi taxi = new Taxi(data); GUI.Start(taxi); } }