vc 74 (10) [Avatar] Offline
#1
Input didn't match hello, int 5 or long 010


should be

Input didn't match hello, int 5 or long 10


BTW do you have any idea why the comparison is done using == only for integer types and not for other primitive .net types like System.Boolean or System.Double?
jon.skeet (448) [Avatar] Offline
#2
Thanks for the typo fix - will get that done for the next MEAP.

As for "only integer types" - my guess is that it's to fit in with what the CLI can do efficiently for switch statements.
vc 74 (10) [Avatar] Offline
#3
OK thanks