From c3282f6f87397b487124951780d4b3190f88f7ee Mon Sep 17 00:00:00 2001 From: Lev Rusanov <30170278+JDM170@users.noreply.github.com> Date: Wed, 13 Nov 2024 20:22:19 +0700 Subject: [PATCH] Update Program.cs Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com> --- Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)