C# check if you have passed arguments or not

前端 未结 6 907
灰色年华
灰色年华 2020-12-29 02:36

I have this code:

public static void Main(string[] args)
{         
    if (string.IsNullOrEmpty(args[0]))  // Warning : Index was out of the bounds of the a         


        
6条回答
提交回复
热议问题