1.

What Are The Syntax For Creating And Starting A Thread In C#?

Answer»

FIRST DEFINE a DELEGATE:-

Public delegate VOID start_thread();

Create a new thread:-

Thread thread_name = new Thread(new start_thread(method_name));

First define a delegate:-

Public delegate void start_thread();

Create a new thread:-

Thread thread_name = new Thread(new start_thread(method_name));



Discussion

No Comment Found