Will 保哥
8 years ago @Edit 8 years ago
C# 8 支援 Nullable Reference
string? s = null;
強迫你要做 null checking 否則會出警告!
而且 C# 8 還有這種語法:
s!.Length
latest #7
跟swift有87%像
Will 保哥
8 years ago
IAsyncEnumerable<T>
Will 保哥
8 years ago
foreach await (var s in vars) { ... }
立即下載
Will 保哥
8 years ago
async IAsyncEnumerable<T> someMethod() { yeild return xx; }
已經 announce C# 8了喔?沒有NDA 嗎?
Will 保哥
8 years ago
eaglewolf 剛看 Ch9 的影片喔
willh: soga
back to top