You have posted in C-C++ forum. I have moved the thread in C# forum.

Learning C# thread at the begining of this forum is not a bad place to start off.