How to pass parameters to Main() C# in visual studio for mac

后端 未结 5 1840
别跟我提以往
别跟我提以往 2021-01-18 05:59

I\'ve looked at the different resources for other editions of visual studio but it\'s not clear to me how to call Main with an arg here

using System;

namesp         


        
5条回答
  •  醉梦人生
    2021-01-18 06:31

    Arguments can be supplied to your application within Visual Studio for Mac by right clicking on your console application in the right hand pane then going Options > Run > Configurations > Default where you'll see an Arguments text field.

提交回复
热议问题