FirstOrDefault

This commit is contained in:
Dean Herbert 2017-08-04 15:58:59 +09:00
parent 104c25266d
commit 7e89b1021d
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public static int Main(string[] args)
}
else
{
switch (args.First() ?? string.Empty)
switch (args.FirstOrDefault() ?? string.Empty)
{
case "--tests":
host.Run(new OsuTestBrowser());