Checking if Console Args is Empty/Null

I'm trying to check if args if empty/null

[ConsoleCommand("uiclose")]
        private void close_menu(ConsoleSystem.Arg args)
        {
            BasePlayer player = BasePlayer.FindByID(System.Convert.ToUInt64(args.Args[0]));

            if (player == null)
                return;

            if(args.Args == null || args.Args.Length == 0)
            {
                Puts("No args found please enter a users steam ID");
            }
            else
            {
                Puts("Closed menu for " + player.userID.ToString());
                CuiHelper.DestroyUi(player, "Basic-Panel");
            }
        }

You are trying to use the args before checking them.

Dk2Aio0uz8GsyOl.png Wulf

You are trying to use the args before checking them.

Dang thank you long night getting to me! :D