dotnet-installer/test/TestProjects/TestAppWithArgs/Program.cs

19 lines
389 B
C#
Raw Normal View History

using System;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.WriteLine($"I was passed {args.Length} args:");
foreach (var arg in args)
{
Console.WriteLine($"arg: [{arg}]");
}
}
}
}