How to convert from string to string constant in struct?
<p>So I have this struct:</p>

<pre><code>public struct PurchaseOrderStatus {
    public const string Open = "Open", Received = "Received";
}
</code></pre>

<p>How do I convert if I have the following:</p>

<pre><code>    string status = "Open";
</code></pre>

<p>To:</p>

<pre><code>    PurchaseOrderStatus.Open;
</code></pre>

<p>By Convert, I mean, how do I do this:</p>

<pre><code>    PurchaseOrderStatus POS;
    String status = "Open";
    POS = status;
</code></pre>
