M
Michael A. Covington
Other than to create confusion, does the unary plus operator serve any
purpose at all?
All C# numeric types have a unary plus. The syntax is something like:
x = +y;
where +y is the same value as y, whether positive or negative.
purpose at all?
All C# numeric types have a unary plus. The syntax is something like:
x = +y;
where +y is the same value as y, whether positive or negative.