static void Main(string[] args) { TravelContext context = new TravelContext(Way.火车); context.Travel(); Console.Read(); }