T
titan nyquist
I have launched threads with void methods, like so:
TestClass testClass = new TestClass();
Thread testThread = new Thread(testClass.Launch);
testThread.Start();
Where testClass.Launch is void, this works.
I want to make testClass.Launch return a value (bool). Can I do this?
Titan
TestClass testClass = new TestClass();
Thread testThread = new Thread(testClass.Launch);
testThread.Start();
Where testClass.Launch is void, this works.
I want to make testClass.Launch return a value (bool). Can I do this?
Titan