📜  c# 隐式运算符 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:44.855000             🧑  作者: Mango

代码示例1
public static implicit operator byte(Digit d) => d.digit;
    public static explicit operator Digit(byte b) => new Digit(b);