Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

what does "string[] args" mean in c# main method?

class Program
{
  static void Main(string[] args)
  {
    foreach (var arg in args)
    {
      Console.WriteLine(arg);
    }
  }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #main
ADD COMMENT
Topic
Name
6+9 =