c# 8.0
2021-01-19 16:11
标签:art ble opera sub null substring range val operation 1. nullable string 从前 string 一定是 nullable. 现在则不一定 string? name = null; 要加 ? 才可以表示 nullable 2. range operation 以前最讨厌翻译 js -> c# 遇到 substring 因为 js 的 substring 是 start, end c# 的是 start, length 每次都要改成 start, end - start 现在可以直接 value[start..end] 结果就和 js 一样了。 c# 8.0 标签:art ble opera sub null substring range val operation 原文地址:https://www.cnblogs.com/keatkeat/p/12155974.html