static void Main(string[] args) { CircularQueue cq= new CircularQueue (); Thread[] threads = new Thread[10]; for (int i = 0; i < threads.Length; i++) { threads [i] = new Thread (new ThreadStart (cq.EnqueueDequeue)); } for (int i = 0; i < threads.Length; i++) { threads [i].Start (); } Console.ReadLine (); }