摘要: 一种char分隔符 string phrase = "The quick brown fox jumps over the lazy dog."; string[] words = phrase.Split(' '); foreach (var word in words) { System.Con 阅读全文
posted @ 2020-03-31 23:13 舒碧 阅读(493) 评论(0) 推荐(0) 编辑
摘要: 记录使用对象初始值设定项初始化对象。 using System; using System.Collections.Generic; namespace ConsoleApp2 { class Program { static void Main(string[] args) { // 使用构造函数 阅读全文
posted @ 2020-03-31 22:45 舒碧 阅读(1030) 评论(3) 推荐(0) 编辑