How do I save an object's field to a string
<p><b>Question: How do I store an object's value into a string?</b></p>

<p><b>objGet holds:</b><br /></p>

<pre><code>public string name { get; set; }
</code></pre>

<p><b>Get information + convert object field to a string</b><br /></p>

<pre><code>objGet thisIsTheObject;
string storageString;
</code></pre>

<p><b>How would I store name into storageString?</b><br />
I've tried the following:<br /></p>

<pre><code>storageString = thisIsTheObject.name;
</code></pre>

<p>I just get the following error:<br />
<b>Error:</b> Use of unassigned local variable</p>
