mirror of
https://github.com/JDM170/file_hash_checker
synced 2025-12-10 16:17:18 +07:00
Update Program.cs
Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
@@ -84,7 +84,7 @@ namespace file_hash_checker
|
||||
Console.WriteLine(message);
|
||||
Console.Write("> ");
|
||||
string data = Console.ReadLine().Trim();
|
||||
if (data.Length == 0 || data == string.Empty)
|
||||
if (string.IsNullOrWhiteSpace(data))
|
||||
InputData(message);
|
||||
return data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user