multhithreaded programming in C#
I found this book on internet. Threading in C# by Joseph. I tried its example

class ThreadTest
    {
        static void Main()
        {
            Thread t = new Thread(WriteY);          // Kick off a new thread
            t.Start();                               // running WriteY()

            // Simultaneously, do something on the main thread.
            for (int i = 0; i < 10000000; i++) Console.Write("x");
            Console.ReadLine();
        }

        static void WriteY()
        {
            for (int i = 0; i < 10000000; i++) Console.Write("y");
        }
    }

The prob is, when i run this program (i gave higher values in for loops to observe) my cpu utilization sticks to 100%. I didnt want this, i mean, is there anyway to reduce to make this program less cpu intensive ? i am just new to multithreading concept so i thought i should ask in advance.

Pls guide me
multhithreaded programming in C#
===

I found this book on internet. Threading in C# by Joseph. I tried its example

class ThreadTest
    {
        static void Main()
        {
            Thread t = new Thread(WriteY);          // Kick off a new thread
            t.Start();                               // running WriteY()

            // Simultaneously, do something on the main thread.
            for (int i = 0; i < 10000000; i++) Console.Write("x");
            Console.ReadLine();
        }

        static void WriteY()
        {
            for (int i = 0; i < 10000000; i++) Console.Write("y");
        }
    }

The prob is, when i run this program (i gave higher values in for loops to observe) my cpu utilization sticks to 100%. I didnt want this, i mean, is there anyway to reduce to make this program less cpu intensive ? i am just new to multithreading concept so i thought i should ask in advance.

Pls guide me