send to main args dotnet debug
Code Example - send to main args dotnet debug
static void Main(string[] args)
{
#if DEBUG
args = new[] { "A" };
#endif
Console.WriteLine(args[0]);
}