开发者

What is compiler flagging for numbers in C#?

开发者 https://www.devze.com 2022-12-21 13:39 出处:网络
What is c开发者_C百科ompiler flagging for numbers in C#? What is the advantage of this work? I can\'t understand this concept.There is a compiler flag /checked. It deals with numeric over and under fl

What is c开发者_C百科ompiler flagging for numbers in C#? What is the advantage of this work? I can't understand this concept.


There is a compiler flag /checked. It deals with numeric over and under flows.

Using it will cause a value outside the range of the data type to cause a run-time exception.

0

精彩评论

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

关注公众号