C# Switch on enums
<p>I have an enum:</p>

<pre><code>public enum Status 
{ 
    Incomplete = 1, Complete = 2, Cancelled = 3, Deleted = 4 
}
</code></pre>

<p>Now on a certain page I wish to list this enum in a checkboxlist. This would be fine except that I want the text of each checkbox to display different text than the enum. </p>

<p>i.e the check boxes should say:</p>

<p>"Not Processed" instead of "Incomplete"</p>

<p>"Processed" instead of "Complete"</p>

<p>"Void" instead of "Cancelled"</p>

<p>Is it possible to put this enum in a foreach and then switch on the status and update the text. Like so:</p>

<pre><code>var statuses = Enum.GetNames(typeof(Status));
foreach (var status in statuses)))
{
    switch (status)
    {
        case Status.Complete.ToString(): 
        status = "Processed";
        break; ...etc                 
    }
}
</code></pre>

<p>Any ideas would be greatly appreciated.</p>
