can string[] args be used only in main methid in c# code example
Example: what does "string[] args" mean in c# main method?
class Program
{
static void Main(string[] args)
{
foreach (var arg in args)
{
Console.WriteLine(arg);
}
}
}