I am new and was assuming it is cuase I am at some points sending a string into main. Thing is when I get code snippets from the net they seem to have
static void Main(string[] args) and I remove the string[] args and just make it Main(){...} and their code example works fine. SO when exactly is the
needed?
Example of a peice of code I am working with that works fine just as Main(){...}
static void Main(string[] args) and I remove the string[] args and just make it Main(){...} and their code example works fine. SO when exactly is the
Code:
Main(string[] args)
Example of a peice of code I am working with that works fine just as Main(){...}
Code:
static void Main(string[] args)
{
Thread Thread1 = new Thread(new ThreadStart(Headlights));
Thread1.Start();
Thread1.Join(); .......