static void MakeDir(string [] Input) { if (!Client.IsConnected) { Console.WriteLine("Please connect to a server first."); return; } if (Input == null) { Console.WriteLine("Invalid parameters"); return; } Client.MakeDir(Input[0]); }