This would be question from c# beginner. When I create console application I get Main method with parameter args as array string. I do not understand how t
you can pass also by making function and then in this function you call main method and pass argument to main method
static int Main(string[] args)
{
foreach (string b in args)
Console.WriteLine(b+" ");
Console.ReadKey();
aa();
return 0;
}
public static void aa()
{
string []aaa={"Adil"};
Console.WriteLine(Main(aaa));
}