摘要: public static explicit operator Int32(A a) { return a.k; } //隐试转换 public static implicit operator A(Int32 i) { return new A() { k = i }; } 阅读全文
posted @ 2011-11-09 10:58 天空海阔 阅读(200) 评论(0) 推荐(0) 编辑