How to assign a value to an enum? : <p>Trying to assign a value to the <code>_cat.CatType.</code></p>

<p>I was wondering how to do this without getting a null reference error?</p>

<pre><code>using System;

public class Program
{
    private CatClass _cat;
    public void Main()
    {
        _cat.CatType = CatType.Active;

        Console.WriteLine(_cat.CatType.ToString());
    }

    public enum CatType
    {
        New,
        Active,
        Inactive
    }

    public class CatClass
    {
        public CatType CatType
        {
            get;
            set;
        }
    }
}
</code></pre>

<p>Ideally I want to assign it something like this <code>_cat.CatType = CatType.Active</code></p>
