Using Example 1: Creating, starting, and interacting between threads on this MSDN tutorial more specificaly line 3 to line 7 in the Main()
I have the following code with the following error:
cannot be accessed with an instance reference; qualify it with a type name instead.
Program.cs
public static ThreadTest threadTest = new ThreadTest();
private static Thread testingThread = new Thread(new ThreadStart(threadTest.testThread()));
static void Main(string[] args)
{
}
ThreadTest.cs
public static void testThread()
{
}