Skip to content

Commit a7cf998

Browse files
committed
Used IsNullOrEmtpy instead of ""
1 parent 9a82a25 commit a7cf998

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ static void Main(string[] args)
3232
continue;
3333
case "load":
3434
string fileName = Console.ReadLine();
35-
if (fileName == "")
35+
if (string.IsNullOrEmpty(fileName))
3636
{
3737
continue;
3838
}

0 commit comments

Comments
 (0)