I have a simple c# console application that calls a function in which contains a continuous for(;;)
loop, the problem is that when this function is called, any code after from where the function is called doesn't execute until the function that is running the infinite for(;;)
stops execution.
Heres an example:
static void Main(string[] args)
{
ExampleFunc();
Console.Writeline("This doesn't show up :(");
}
static void ExampleFunc()
{
for(;;)
{
//Blah Blah Blah
}
}
Does anyone have any solutions?
Thank you for your time.