send to main args dotnet debug

107

send to main args dotnet debug -

static void Main(string[] args)
        {
#if DEBUG
            args = new[] { "A" };
#endif

            Console.WriteLine(args[0]);
        }

Comments

Submit
0 Comments