摘要: //1、重载内置运算符 public class Salary { public int RMB { get; set; } public static Salary operator +(Salary s1, Salary s2) { s2.RMB += s1.RMB; return s2; } 阅读全文
posted @ 2021-05-17 17:29 狼王爷 阅读(66) 评论(0) 推荐(0) 编辑