Unsigned data types for reference implementation
Usage of unsigned types in C# is discouraged apart from some edge cases. Would it be appropriate to use it if one is implementing a Standard which requires unsigned types?
What would be an appropriate alternative, if that's not a valid use case for unsigned data types?
2 Replies
unsigned types arent really discouraged, its just that signed types are more in use and thus recommended.
but u have simply a use case for the unsigned types, so use them 😉
thanks for your response!
I guess you're right, it would be a pain to project the properties of unsigned types on a signed one..