Explicit & Implicit Operator with Numeric Types & unexpected results
问题 I have never done any extensive work with overloading operators, especially the implicit and explicit conversions. However, I have several numeric parameters that are used frequently, so I am creating a struct as a wrapper around a numeric type to strongly type these parameters. Here's an example implementation: public struct Parameter { private Byte _value; public Byte Value { get { return _value; } } public Parameter(Byte value) { _value = value; } // other methods (GetHashCode, Equals,