AcornPublishing_essential-csharp-7e/EssentialCSharp-8.0/src/Chapter18/Listing18.02.UsingTypeofToCreateASystem.TypeInstance.cs
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter18.Listing18_02
{
    using System;
    using System.Diagnostics;

    public class Program
    {
        public static void Main()
        {
            ThreadPriorityLevel priority;
            priority = (ThreadPriorityLevel)Enum.Parse(
                    typeof(ThreadPriorityLevel), "Idle");
        }
    }
}