//first we define the Thread in main functionclass threadexample{ void main() { Thread thread1=new Thread(Threadstart(display));// Here we define a Thread; //Threadstart is the system defined deligate //and display is the user defined function thread1.start();//the execution path will go to the display function}public void diasply(){ for(int i=0;i<10;i++) { Console.WriteLine(i);} }}