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