using System.Threading.Tasks; code example
Example 1: System.Threading;
Compilation failed:
12: The name 'Thread' does not exist in the current context
Example 2: System.Threading;
System.Threading;Thread.Sleep(2000); //in ms
Compilation failed:
12: The name 'Thread' does not exist in the current context
System.Threading;Thread.Sleep(2000); //in ms