Update Program.cs

Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
2024-11-13 20:22:19 +07:00
parent 6234a30173
commit c3282f6f87

View File

@@ -55,7 +55,7 @@ namespace domain_utility
Console.WriteLine(message); Console.WriteLine(message);
Console.Write("> "); Console.Write("> ");
string remote = Console.ReadLine().Trim(); string remote = Console.ReadLine().Trim();
if (remote == string.Empty || remote.Length == 0) if (string.IsNullOrWhiteSpace(remote))
InputData(message, callback, withClear, withChecks); InputData(message, callback, withClear, withChecks);
Console.WriteLine(); Console.WriteLine();
if (withChecks) if (withChecks)