General information
Category:
Coding, syntax and commands
Environment versions
Network:
Windows 2003 Server
>Hi everybody,
>
>Quite often when I need to compare, say, two values where one is a constant, I need to put (Int16) in front of that constant to avoid a compile error. I am wondering is there a way to somehow automatically make 0 to be Int16 without explicitly boxing it?
>
>Thanks in advance.
I think you mean 'casting' rather than 'boxing' ?
How are you declaring the constant ?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only