02 2023 档案

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

点击右上角即可分享
微信分享提示