开发者

Why does C# define Byte+Byte=Int32 instead of Byte+Byte=Byte like VB?

Why does C# define开发者_JAVA百科 Byte+Byte=Int32 instead of Byte+Byte=Byte like VB?


Because adding two very large bytes can overflow, and that's not normally what you want to happen.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜