Skip to content

Instantly share code, notes, and snippets.

@PrateekKumarSingh
Created July 4, 2020 13:44
Show Gist options
  • Select an option

  • Save PrateekKumarSingh/4c2e2a794a1d6bba48b00bc603b69665 to your computer and use it in GitHub Desktop.

Select an option

Save PrateekKumarSingh/4c2e2a794a1d6bba48b00bc603b69665 to your computer and use it in GitHub Desktop.
using System;
namespace app
{
class Program
{
static void Main(string[] args)
{
var len = args.Length;
Console.WriteLine("Number of args: "+ len);
for(int i = 0; i < len; i++)
{
Console.WriteLine($"arg at index {i}: {args[i]}");
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment