Please help me out with this, when running nothing is displayed
class Program
{
public static void Write(string input, int times)
{
int i = 1000;
while (i-- > 0)
{
Console.WriteLine($"{input} {i}");
}
}
static void Main(string[] args)
{
Task.Factory.StartNew(() => Write("ABC", 10));
}
}
times
in your method? It appears to be ignored.