c# - Why aren't unsigned variables used more often? -


It seems that the unsigned integer method will be useful for the parameters and members of the class, which should never be negative, but I Do not think many people are writing code like this

duplicate

P>

< / Div>

The use of standard people probably avoids casting unsigned versions. In your code, you can probably keep the distinction fine, but many other inputs and third party libraries are used and thus castings will only make people crazy!


Comments