diff --git a/Program.cs b/Program.cs index 0bc0b74..ae5d886 100644 --- a/Program.cs +++ b/Program.cs @@ -55,7 +55,7 @@ namespace domain_utility Console.WriteLine(message); Console.Write("> "); string remote = Console.ReadLine().Trim(); - if (remote == string.Empty || remote.Length == 0) + if (string.IsNullOrWhiteSpace(remote)) InputData(message, callback, withClear, withChecks); Console.WriteLine(); if (withChecks)