Will 保哥
說 8 years ago @Edit 8 years ago
C# 8 支援 Nullable Reference
string? s = null;
強迫你要做 null checking 否則會出警告!
而且 C# 8 還有這種語法:
s!.Length
latest #7
foreach await (var s in vars) { ... }
async IAsyncEnumerable<T> someMethod() { yeild return xx; }
已經 announce C# 8了喔?沒有NDA 嗎?
back to top