Hi,
What is purpose of input ,f ? What is ,f doing?
decimal f = decimal.Parse(Console.ReadLine());
new Task((obj) =>
{
for (int i = 0; i < (decimal)obj; i++)
{
Console.WriteLine(i);
}
},f).Start();