Tag: 式转换

隐式算子

我刚刚看到它在最近的一个答案中使用: public static implicit operator bool(Savepoint sp) { return sp != null; } 为什么我们在这里需要含义,这是什么意思?