[Mono-list] enum examples from TiC# don't compile with mcs

jpo234@netscape.net jpo234@netscape.net
Thu, 19 Dec 2002 12:42:57 -0500

Richard Polton <Richard.Polton@morganstanley.com> wrote:

>Shouldn't it be
>(short)Coin.Penny + (short)Coin.Nickel

I agree. The code looked fishy to me, too.

If the ECMA C# standard does not allow this, then it's still interesting to learn what csc does with the code. Anybody with a Windows machine at hand?


The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/