会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
兴杰(stooges.com.my)
博客园
首页
新随笔
联系
管理
订阅
2020年1月6日
c# 8.0
摘要: 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)
公告