static void Main(string[] args) { if (args.Length < 2) { Console.WriteLine("Expected arguments in the form speechrecognizer host port"); return; } var client = new TextToSpeechClient("app.json"); client.Connect(args[0], args[1]); }