摘要:
使用Lambda的表达式来过滤符合条件的数据。下面的代码实现,是把字符阵列中,把名字长度等于3元素找出来。 class Bv { public void LambdaExpression() { string[] names = new string[] { "insus", "leo", "yan 阅读全文
摘要:
创建一个文本文件,文本写至这个文件里。 class Bu { public string fileName { get; set; } = "hello.txt"; public string filecontent { get; set; } public void WriteText2File( 阅读全文