摘要: 1. nullable string 从前 string 一定是 nullable. 现在则不一定 string? name = null; 要加 ? 才可以表示 nullable 限制泛型不能 null public void Abc<T>(T xyz) where T : notnull { } 阅读全文
posted @ 2020-01-06 14:00 兴杰 阅读(1825) 评论(0) 推荐(0)