02 2023 档案
摘要:我们用string.format 格式字符串的时候,通常只用到占位符,就是需要插入字符的位置,没有对其它有所研究,总体可以有三个方面的应用 插入位置 decimal temp = 20.4m; string s = String.Format("The temperature is {0}°C.",
阅读全文
摘要:1. Using Skip() and Take() 的普通方法(效率更高,linq需要迭代每个元素) using System; using System.Linq; using System.Collections.Generic; public static class Extensions
阅读全文