Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with casting
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01608054
Message ID:
01608090
Views:
22
This message has been marked as a message which has helped to the initial question of the thread.
>The last code doesn't compile. It says operator ?? can not be applied to short and short.

Ah, too bad. I would have expected that to work, but it looks like the operators are weird for shorts. I never would have expected the large difference in behavior between them and ints.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform