ion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Clark, Michael (OFM)
> Sent: 23 June 2003 19:56
> To: [EMAIL PROTECTED]
> Subject: [ADVANCED-DOTNET] ToString Implementation in an Enum
>
>
> There's gotta be a way, but I can't find it.
nday, June 23, 2003 11:56 AM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] ToString Implementation in an Enum
There's gotta be a way, but I can't find it...
Suppose you have an enum, such as:
public enum MonetaryUnit
{
USDollar,
AUDollar,
CDNDollar
}
L PROTECTED]
Sent: Monday, June 23, 2003 12:56 PM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] ToString Implementation in an Enum
There's gotta be a way, but I can't find it...
Suppose you have an enum, such as:
public enum MonetaryUnit
{
USDollar,
AUDollar,
OTECTED] Behalf Of Clark, Michael
> (OFM)
> Sent: Monday, June 23, 2003 11:56 AM
> To: [EMAIL PROTECTED]
> Subject: [ADVANCED-DOTNET] ToString Implementation in an Enum
>
>
> There's gotta be a way, but I can't find it...
>
> Suppose you have an enum,
There's gotta be a way, but I can't find it...
Suppose you have an enum, such as:
public enum MonetaryUnit
{
USDollar,
AUDollar,
CDNDollar
}
And you would like the expression MonetaryUnit.USDollar.ToString() to return
something like "American", or AUDollar to return "Aust