C# Property reference type?
<p>I'm starting out in C# and I have a question.</p>

<p>Say I have an object:</p>

<pre><code>Person
</code></pre>

<p>and a property on Person called Cat:</p>

<pre><code>Person.Cat
</code></pre>

<p>If I do:</p>

<pre><code>Cat cat = new Cat(stuff);
cat.Name = "Alan";
Person.Cat = cat;
</code></pre>

<p>Is Cat a direct reference to cat?
If I do:</p>

<pre><code>Person.Cat.Name = "John";
</code></pre>

<p>Will cat's Name be "John"?</p>

<p>Because I think I tried doing something like this before, and I got NullReferenceException or something like that.</p>
